home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 1.5 for Developers / QuickTime 1.5 for Developers.iso / System Stuff / Video Digitizers / RasterOps / RasterOps Drivers / RasterOps Drivers.rsrc / DRVR_133_.RasterOps Hydra PIP 1.0d6.txt < prev    next >
Text File  |  1992-10-15  |  430KB  |  7,679 lines

  1. # name: .RasterOps Hydra PIP
  2. # flags: 0x1C00 (ENABLE_CONTROL, ENABLE_STATUS, NEED_GOODBYE)
  3. # delay: 0
  4. # event mask: 0x0000
  5. # menu id: 0
  6. # open label: 000A
  7. # prime label: 000E
  8. # control label: 0012
  9. # status label: 0016
  10. # close label: 001A
  11. 00000000  0000 0000                ori.b      D0, 0x0
  12. 00000004  0000 0000                ori.b      D0, 0x0
  13. 00000008  0000 6000                ori.b      D0, 0x0
  14. open: // at 0000000A (misaligned)
  15. 0000000C  0012 6000                ori.b      [A2], 0x0
  16. prime: // at 0000000E (misaligned)
  17. 00000010  0014 6000                ori.b      [A4], 0x0
  18. control: // at 00000012 (misaligned)
  19. 00000014  0016 6000                ori.b      [A6], 0x0
  20. status: // at 00000016 (misaligned)
  21. 00000018  0018 6000                ori.b      [A0]+, 0x0
  22. close: // at 0000001A (misaligned)
  23. 0000001C  001A 487A                ori.b      [A2]+, 0x7A /* 'z' */
  24. 00000020  259C 6016                move.l     [A2 + D6.w + 0x16], [A4]+
  25. 00000024  487A 2732                pea.l      [PC + 0x2732 /* 00002758, value 0x4E560000 'NV\0\0', cstring "NV" */]
  26. 00000028  6010                     bra        +0x12 /* 0000003A */
  27. 0000002A  487A 28A4                pea.l      [PC + 0x28A4 /* 000028D0, value 0x4E56FFB2 */]
  28. 0000002E  600A                     bra        +0xC /* 0000003A */
  29. 00000030  487A 4550                pea.l      [PC + 0x4550 /* 00004582, value 0x4E56FFCC */]
  30. 00000034  6004                     bra        +0x6 /* 0000003A */
  31. 00000036  487A 272E                pea.l      [PC + 0x272E /* 00002766, value 0x4E560000 'NV\0\0', cstring "NV" */]
  32. label0000003A:
  33. 0000003A  48E7 00C0                movem.l    -[A7], A0,A1
  34. 0000003E  4267                     clr.w      -[A7]
  35. 00000040  2F08                     move.l     -[A7], A0
  36. 00000042  2F09                     move.l     -[A7], A1
  37. 00000044  206F 0012                movea.l    A0, [A7 + 0x12]
  38. 00000048  4E90                     jsr        [A0]
  39. 0000004A  301F                     move.w     D0, [A7]+
  40. 0000004C  4CDF 0300                movem.l    A0,A1, [A7]+
  41. 00000050  584F                     addq.w     A7, 4
  42. 00000052  0828 0001 0006           btst.b     [A0 + 0x6], 0x1
  43. 00000058  6604                     bne        +0x6 /* 0000005E */
  44. 0000005A  2F38 08FC                move.l     -[A7], [0x000008FC /* JIODone */]
  45. label0000005E:
  46. 0000005E  4E75                     rts
  47. fn00000060:
  48. 00000060  4E56 FFFE                link       A6, -0x0002
  49. 00000064  48E7 0118                movem.l    -[A7], D7,A3,A4
  50. 00000068  3E2E 0016                move.w     D7, [A6 + 0x16]
  51. 0000006C  41EE 0010                lea.l      A0, [A6 + 0x10]
  52. 00000070  2648                     movea.l    A3, A0
  53. 00000072  564B                     addq.w     A3, 3
  54. 00000074  302E 000E                move.w     D0, [A6 + 0xE]
  55. 00000078  48C0                     ext.l      D0
  56. 0000007A  E580                     asl        D0, 2
  57. 0000007C  2840                     movea.l    A4, D0
  58. 0000007E  D9EE 0008                add.l      A4, [A6 + 0x8]
  59. 00000082  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  60. 00000088  41EE FFFF                lea.l      A0, [A6 - 0x1]
  61. 0000008C  1010                     move.b     D0, [A0]
  62. 0000008E  A05D                     syscall    SwapMMUMode
  63. 00000090  1080                     move.b     [A0], D0
  64. 00000092  600C                     bra        +0xE /* 000000A0 */
  65. label00000094:
  66. 00000094  204B                     movea.l    A0, A3
  67. 00000096  534B                     subq.w     A3, 1
  68. 00000098  7000                     moveq.l    D0, 0x00
  69. 0000009A  1010                     move.b     D0, [A0]
  70. 0000009C  4A80                     tst.l      D0
  71. 0000009E  28C0                     move.l     [A4]+, D0
  72. label000000A0:
  73. 000000A0  5347                     subq.w     D7, 1
  74. 000000A2  6CF0                     bge        -0xE /* 00000094 */
  75. 000000A4  41EE FFFF                lea.l      A0, [A6 - 0x1]
  76. 000000A8  1010                     move.b     D0, [A0]
  77. 000000AA  A05D                     syscall    SwapMMUMode
  78. 000000AC  1080                     move.b     [A0], D0
  79. 000000AE  4CEE 1880 FFF2           movem.l    D7,A3,A4, [A6 - 0xE]
  80. 000000B4  4E5E                     unlink     A6
  81. 000000B6  4E75                     rts
  82. fn000000B8:
  83. 000000B8  4E56 FFFA                link       A6, -0x0006
  84. 000000BC  48E7 0118                movem.l    -[A7], D7,A3,A4
  85. 000000C0  3E2E 0012                move.w     D7, [A6 + 0x12]
  86. 000000C4  7000                     moveq.l    D0, 0x00
  87. 000000C6  2D40 FFFA                move.l     [A6 - 0x6], D0
  88. 000000CA  41EE FFFA                lea.l      A0, [A6 - 0x6]
  89. 000000CE  2648                     movea.l    A3, A0
  90. 000000D0  564B                     addq.w     A3, 3
  91. 000000D2  322E 000E                move.w     D1, [A6 + 0xE]
  92. 000000D6  48C1                     ext.l      D1
  93. 000000D8  E581                     asl        D1, 2
  94. 000000DA  2841                     movea.l    A4, D1
  95. 000000DC  D9EE 0008                add.l      A4, [A6 + 0x8]
  96. 000000E0  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  97. 000000E6  41EE FFFF                lea.l      A0, [A6 - 0x1]
  98. 000000EA  1010                     move.b     D0, [A0]
  99. 000000EC  A05D                     syscall    SwapMMUMode
  100. 000000EE  1080                     move.b     [A0], D0
  101. 000000F0  6008                     bra        +0xA /* 000000FA */
  102. label000000F2:
  103. 000000F2  201C                     move.l     D0, [A4]+
  104. 000000F4  204B                     movea.l    A0, A3
  105. 000000F6  534B                     subq.w     A3, 1
  106. 000000F8  1080                     move.b     [A0], D0
  107. label000000FA:
  108. 000000FA  5347                     subq.w     D7, 1
  109. 000000FC  6CF4                     bge        -0xA /* 000000F2 */
  110. 000000FE  41EE FFFF                lea.l      A0, [A6 - 0x1]
  111. 00000102  1010                     move.b     D0, [A0]
  112. 00000104  A05D                     syscall    SwapMMUMode
  113. 00000106  1080                     move.b     [A0], D0
  114. 00000108  202E FFFA                move.l     D0, [A6 - 0x6]
  115. 0000010C  4CEE 1880 FFEE           movem.l    D7,A3,A4, [A6 - 0x12]
  116. 00000112  4E5E                     unlink     A6
  117. 00000114  4E75                     rts
  118. fn00000116:
  119. 00000116  4E56 FFFE                link       A6, -0x0002
  120. 0000011A  48E7 0118                movem.l    -[A7], D7,A3,A4
  121. 0000011E  3E2E 0016                move.w     D7, [A6 + 0x16]
  122. 00000122  41EE 0010                lea.l      A0, [A6 + 0x10]
  123. 00000126  2648                     movea.l    A3, A0
  124. 00000128  564B                     addq.w     A3, 3
  125. 0000012A  302E 000E                move.w     D0, [A6 + 0xE]
  126. 0000012E  48C0                     ext.l      D0
  127. 00000130  D080                     add.l      D0, D0
  128. 00000132  2840                     movea.l    A4, D0
  129. 00000134  D9EE 0008                add.l      A4, [A6 + 0x8]
  130. 00000138  3007                     move.w     D0, D7
  131. 0000013A  5540                     subq.w     D0, 2
  132. 0000013C  670A                     beq        +0xC /* 00000148 */
  133. 0000013E  5340                     subq.w     D0, 1
  134. 00000140  670A                     beq        +0xC /* 0000014C */
  135. 00000142  5340                     subq.w     D0, 1
  136. 00000144  6706                     beq        +0x8 /* 0000014C */
  137. 00000146  6006                     bra        +0x8 /* 0000014E */
  138. label00000148:
  139. 00000148  548C                     addq.l     A4, 2
  140. 0000014A  6002                     bra        +0x4 /* 0000014E */
  141. label0000014C:
  142. 0000014C  5C8C                     addq.l     A4, 6
  143. label0000014E:
  144. 0000014E  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  145. 00000154  41EE FFFF                lea.l      A0, [A6 - 0x1]
  146. 00000158  1010                     move.b     D0, [A0]
  147. 0000015A  A05D                     syscall    SwapMMUMode
  148. 0000015C  1080                     move.b     [A0], D0
  149. 0000015E  6012                     bra        +0x14 /* 00000172 */
  150. label00000160:
  151. 00000160  204B                     movea.l    A0, A3
  152. 00000162  534B                     subq.w     A3, 1
  153. 00000164  7000                     moveq.l    D0, 0x00
  154. 00000166  1010                     move.b     D0, [A0]
  155. 00000168  4A80                     tst.l      D0
  156. 0000016A  4640                     not.w      D0
  157. 0000016C  204C                     movea.l    A0, A4
  158. 0000016E  554C                     subq.w     A4, 2
  159. 00000170  3080                     move.w     [A0], D0
  160. label00000172:
  161. 00000172  5347                     subq.w     D7, 1
  162. 00000174  6CEA                     bge        -0x14 /* 00000160 */
  163. 00000176  41EE FFFF                lea.l      A0, [A6 - 0x1]
  164. 0000017A  1010                     move.b     D0, [A0]
  165. 0000017C  A05D                     syscall    SwapMMUMode
  166. 0000017E  1080                     move.b     [A0], D0
  167. 00000180  4CEE 1880 FFF2           movem.l    D7,A3,A4, [A6 - 0xE]
  168. 00000186  4E5E                     unlink     A6
  169. 00000188  4E75                     rts
  170. fn0000018A:
  171. 0000018A  4E56 FFFA                link       A6, -0x0006
  172. 0000018E  48E7 0118                movem.l    -[A7], D7,A3,A4
  173. 00000192  3E2E 0012                move.w     D7, [A6 + 0x12]
  174. 00000196  7000                     moveq.l    D0, 0x00
  175. 00000198  2D40 FFFA                move.l     [A6 - 0x6], D0
  176. 0000019C  41EE FFFA                lea.l      A0, [A6 - 0x6]
  177. 000001A0  2648                     movea.l    A3, A0
  178. 000001A2  564B                     addq.w     A3, 3
  179. 000001A4  322E 000E                move.w     D1, [A6 + 0xE]
  180. 000001A8  48C1                     ext.l      D1
  181. 000001AA  D281                     add.l      D1, D1
  182. 000001AC  2841                     movea.l    A4, D1
  183. 000001AE  D9EE 0008                add.l      A4, [A6 + 0x8]
  184. 000001B2  3207                     move.w     D1, D7
  185. 000001B4  5541                     subq.w     D1, 2
  186. 000001B6  670A                     beq        +0xC /* 000001C2 */
  187. 000001B8  5341                     subq.w     D1, 1
  188. 000001BA  670A                     beq        +0xC /* 000001C6 */
  189. 000001BC  5341                     subq.w     D1, 1
  190. 000001BE  6706                     beq        +0x8 /* 000001C6 */
  191. 000001C0  6006                     bra        +0x8 /* 000001C8 */
  192. label000001C2:
  193. 000001C2  548C                     addq.l     A4, 2
  194. 000001C4  6002                     bra        +0x4 /* 000001C8 */
  195. label000001C6:
  196. 000001C6  5C8C                     addq.l     A4, 6
  197. label000001C8:
  198. 000001C8  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  199. 000001CE  41EE FFFF                lea.l      A0, [A6 - 0x1]
  200. 000001D2  1010                     move.b     D0, [A0]
  201. 000001D4  A05D                     syscall    SwapMMUMode
  202. 000001D6  1080                     move.b     [A0], D0
  203. 000001D8  6012                     bra        +0x14 /* 000001EC */
  204. label000001DA:
  205. 000001DA  204C                     movea.l    A0, A4
  206. 000001DC  554C                     subq.w     A4, 2
  207. 000001DE  7000                     moveq.l    D0, 0x00
  208. 000001E0  3010                     move.w     D0, [A0]
  209. 000001E2  4A80                     tst.l      D0
  210. 000001E4  4680                     not.l      D0
  211. 000001E6  204B                     movea.l    A0, A3
  212. 000001E8  534B                     subq.w     A3, 1
  213. 000001EA  1080                     move.b     [A0], D0
  214. label000001EC:
  215. 000001EC  5347                     subq.w     D7, 1
  216. 000001EE  6CEA                     bge        -0x14 /* 000001DA */
  217. 000001F0  41EE FFFF                lea.l      A0, [A6 - 0x1]
  218. 000001F4  1010                     move.b     D0, [A0]
  219. 000001F6  A05D                     syscall    SwapMMUMode
  220. 000001F8  1080                     move.b     [A0], D0
  221. 000001FA  202E FFFA                move.l     D0, [A6 - 0x6]
  222. 000001FE  4CEE 1880 FFEE           movem.l    D7,A3,A4, [A6 - 0x12]
  223. 00000204  4E5E                     unlink     A6
  224. 00000206  4E75                     rts
  225. fn00000208:
  226. 00000208  4E56 0000                link       A6, 0
  227. 0000020C  48E7 0700                movem.l    -[A7], D5,D6,D7
  228. 00000210  3A2E 000A                move.w     D5, [A6 + 0xA]
  229. 00000214  3C05                     move.w     D6, D5
  230. 00000216  4A46                     tst.w      D6
  231. 00000218  6D10                     blt        +0x12 /* 0000022A */
  232. label0000021A:
  233. 0000021A  3E38 0D00                move.w     D7, [0x00000D00 /* TimeDBRA */]
  234. 0000021E  4A47                     tst.w      D7
  235. 00000220  6D04                     blt        +0x6 /* 00000226 */
  236. label00000222:
  237. 00000222  51CF FFFE                dbf        D7, -0x4 /* 00000222 */
  238. label00000226:
  239. 00000226  51CE FFF2                dbf        D6, -0x10 /* 0000021A */
  240. label0000022A:
  241. 0000022A  4CEE 00E0 FFF4           movem.l    D5,D6,D7, [A6 - 0xC]
  242. 00000230  4E5E                     unlink     A6
  243. 00000232  4E75                     rts
  244. fn00000234:
  245. 00000234  4E56 FFE8                link       A6, -0x0018
  246. 00000238  2F0C                     move.l     -[A7], A4
  247. 0000023A  7000                     moveq.l    D0, 0x00
  248. 0000023C  2D40 FFF0                move.l     [A6 - 0x10], D0
  249. 00000240  41EE FFEA                lea.l      A0, [A6 - 0x16]
  250. 00000244  A058                     syscall    InsTime
  251. 00000246  41EE FFEA                lea.l      A0, [A6 - 0x16]
  252. 0000024A  203C FFFE A070           move.l     D0, 0xFFFEA070
  253. 00000250  A05A                     syscall    PrimeTime
  254. 00000252  286E 0008                movea.l    A4, [A6 + 0x8]
  255. 00000256  D9FC 00F0 0008           add.l      A4, 0xF00008
  256. 0000025C  1D7C 0001 FFE9           move.b     [A6 - 0x17], 0x1
  257. 00000262  41EE FFE9                lea.l      A0, [A6 - 0x17]
  258. 00000266  1010                     move.b     D0, [A0]
  259. 00000268  A05D                     syscall    SwapMMUMode
  260. 0000026A  1080                     move.b     [A0], D0
  261. 0000026C  6006                     bra        +0x8 /* 00000274 */
  262. label0000026E:
  263. 0000026E  4A6E FFEE                tst.w      [A6 - 0x12]
  264. 00000272  6C1E                     bge        +0x20 /* 00000292 */
  265. label00000274:
  266. 00000274  7000                     moveq.l    D0, 0x00
  267. 00000276  3014                     move.w     D0, [A4]
  268. 00000278  4A80                     tst.l      D0
  269. 0000027A  7210                     moveq.l    D1, 0x10
  270. 0000027C  C240                     and.w      D1, D0
  271. 0000027E  7000                     moveq.l    D0, 0x00
  272. 00000280  3001                     move.w     D0, D1
  273. 00000282  4A80                     tst.l      D0
  274. 00000284  7210                     moveq.l    D1, 0x10
  275. 00000286  B280                     cmp.l      D1, D0
  276. 00000288  67E4                     beq        -0x1A /* 0000026E */
  277. 0000028A  6006                     bra        +0x8 /* 00000292 */
  278. label0000028C:
  279. 0000028C  4A6E FFEE                tst.w      [A6 - 0x12]
  280. 00000290  6C12                     bge        +0x14 /* 000002A4 */
  281. label00000292:
  282. 00000292  7000                     moveq.l    D0, 0x00
  283. 00000294  3014                     move.w     D0, [A4]
  284. 00000296  4A80                     tst.l      D0
  285. 00000298  7210                     moveq.l    D1, 0x10
  286. 0000029A  C240                     and.w      D1, D0
  287. 0000029C  7000                     moveq.l    D0, 0x00
  288. 0000029E  3001                     move.w     D0, D1
  289. 000002A0  4A80                     tst.l      D0
  290. 000002A2  67E8                     beq        -0x16 /* 0000028C */
  291. label000002A4:
  292. 000002A4  41EE FFE9                lea.l      A0, [A6 - 0x17]
  293. 000002A8  1010                     move.b     D0, [A0]
  294. 000002AA  A05D                     syscall    SwapMMUMode
  295. 000002AC  1080                     move.b     [A0], D0
  296. 000002AE  41EE FFEA                lea.l      A0, [A6 - 0x16]
  297. 000002B2  A059                     syscall    RmvTime
  298. 000002B4  286E FFE4                movea.l    A4, [A6 - 0x1C]
  299. 000002B8  4E5E                     unlink     A6
  300. 000002BA  4E75                     rts
  301. fn000002BC:
  302. 000002BC  4E56 FFF6                link       A6, -0x000A
  303. 000002C0  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  304. 000002C4  266E 0008                movea.l    A3, [A6 + 0x8]
  305. 000002C8  2A2E 000C                move.l     D5, [A6 + 0xC]
  306. 000002CC  206B 000A                movea.l    A0, [A3 + 0xA]
  307. 000002D0  2850                     movea.l    A4, [A0]
  308. 000002D2  302C 0356                move.w     D0, [A4 + 0x356]
  309. 000002D6  48C0                     ext.l      D0
  310. 000002D8  2800                     move.l     D4, D0
  311. 000002DA  302C 0358                move.w     D0, [A4 + 0x358]
  312. 000002DE  48C0                     ext.l      D0
  313. 000002E0  2D40 FFFC                move.l     [A6 - 0x4], D0
  314. 000002E4  302B 0010                move.w     D0, [A3 + 0x10]
  315. 000002E8  48C0                     ext.l      D0
  316. 000002EA  2E00                     move.l     D7, D0
  317. 000002EC  302E FFFE                move.w     D0, [A6 - 0x2]
  318. 000002F0  5340                     subq.w     D0, 1
  319. 000002F2  3D40 FFF8                move.w     [A6 - 0x8], D0
  320. 000002F6  2004                     move.l     D0, D4
  321. 000002F8  4C7C 0800 0000 0002      movem.l    A3, 0x2
  322. 00000300  3C00                     move.w     D6, D0
  323. 00000302  5346                     subq.w     D6, 1
  324. 00000304  302C 0332                move.w     D0, [A4 + 0x332]
  325. 00000308  48C0                     ext.l      D0
  326. 0000030A  4C44 0800                movem.l    A3, D4
  327. 0000030E  5380                     subq.l     D0, 1
  328. 00000310  670A                     beq        +0xC /* 0000031C */
  329. 00000312  5380                     subq.l     D0, 1
  330. 00000314  671E                     beq        +0x20 /* 00000334 */
  331. 00000316  5580                     subq.l     D0, 2
  332. 00000318  675A                     beq        +0x5C /* 00000374 */
  333. 0000031A  607A                     bra        +0x7C /* 00000396 */
  334. label0000031C:
  335. 0000031C  2004                     move.l     D0, D4
  336. 0000031E  D080                     add.l      D0, D0
  337. 00000320  4C2E 0800 FFFC           movem.w    A3, [A6 - 0x4]
  338. 00000326  4C07 0800                movem.w    A3, D7
  339. 0000032A  2840                     movea.l    A4, D0
  340. 0000032C  D9D3                     add.l      A4, [A3]
  341. 0000032E  426E FFFA                clr.w      [A6 - 0x6]
  342. 00000332  606A                     bra        +0x6C /* 0000039E */
  343. label00000334:
  344. 00000334  2004                     move.l     D0, D4
  345. 00000336  E580                     asl        D0, 2
  346. 00000338  4C2E 0800 FFFC           movem.w    A3, [A6 - 0x4]
  347. 0000033E  2207                     move.l     D1, D7
  348. 00000340  4C7C 1801 0000 0002      movem.l    D0,A3,A4, 0x2
  349. 00000348  4C00 1800                movem.w    A3,A4, D0
  350. 0000034C  D293                     add.l      D1, [A3]
  351. 0000034E  2004                     move.l     D0, D4
  352. 00000350  D080                     add.l      D0, D0
  353. 00000352  2407                     move.l     D2, D7
  354. 00000354  4C7C 2803 0000 0002      movem.l    D0,D1,A3,A5, 0x2
  355. 0000035C  4C00 3800                movem.w    A3,A4,A5, D0
  356. 00000360  2843                     movea.l    A4, D3
  357. 00000362  D9C1                     add.l      A4, D1
  358. 00000364  2004                     move.l     D0, D4
  359. 00000366  4C7C 0800 0000 0002      movem.l    A3, 0x2
  360. 0000036E  3D40 FFFA                move.w     [A6 - 0x6], D0
  361. 00000372  602A                     bra        +0x2C /* 0000039E */
  362. label00000374:
  363. 00000374  2004                     move.l     D0, D4
  364. 00000376  D080                     add.l      D0, D0
  365. 00000378  4C07 0800                movem.w    A3, D7
  366. 0000037C  2840                     movea.l    A4, D0
  367. 0000037E  D9D3                     add.l      A4, [A3]
  368. 00000380  2204                     move.l     D1, D4
  369. 00000382  2001                     move.l     D0, D1
  370. 00000384  D281                     add.l      D1, D1
  371. 00000386  D280                     add.l      D1, D0
  372. 00000388  4C7C 1801 0000 0002      movem.l    D0,A3,A4, 0x2
  373. 00000390  3D41 FFFA                move.w     [A6 - 0x6], D1
  374. 00000394  6008                     bra        +0xA /* 0000039E */
  375. label00000396:
  376. 00000396  3D7C FFFF FFF8           move.w     [A6 - 0x8], 0xFFFF
  377. 0000039C  7CFF                     moveq.l    D6, 0xFFFFFFFF
  378. label0000039E:
  379. 0000039E  1D7C 0001 FFF7           move.b     [A6 - 0x9], 0x1
  380. 000003A4  41EE FFF7                lea.l      A0, [A6 - 0x9]
  381. 000003A8  1010                     move.b     D0, [A0]
  382. 000003AA  A05D                     syscall    SwapMMUMode
  383. 000003AC  1080                     move.b     [A0], D0
  384. 000003AE  382E FFF8                move.w     D4, [A6 - 0x8]
  385. 000003B2  4A44                     tst.w      D4
  386. 000003B4  6D1A                     blt        +0x1C /* 000003D0 */
  387. label000003B6:
  388. 000003B6  3E06                     move.w     D7, D6
  389. 000003B8  4A47                     tst.w      D7
  390. 000003BA  6D06                     blt        +0x8 /* 000003C2 */
  391. label000003BC:
  392. 000003BC  28C5                     move.l     [A4]+, D5
  393. 000003BE  51CF FFFC                dbf        D7, -0x6 /* 000003BC */
  394. label000003C2:
  395. 000003C2  302E FFFA                move.w     D0, [A6 - 0x6]
  396. 000003C6  48C0                     ext.l      D0
  397. 000003C8  E580                     asl        D0, 2
  398. 000003CA  D9C0                     add.l      A4, D0
  399. 000003CC  51CC FFE8                dbf        D4, -0x1A /* 000003B6 */
  400. label000003D0:
  401. 000003D0  41EE FFF7                lea.l      A0, [A6 - 0x9]
  402. 000003D4  1010                     move.b     D0, [A0]
  403. 000003D6  A05D                     syscall    SwapMMUMode
  404. 000003D8  1080                     move.b     [A0], D0
  405. 000003DA  4CEE 18F8 FFDA           movem.l    D3,D4,D5,D6,D7,A3,A4, [A6 - 0x26]
  406. 000003E0  4E5E                     unlink     A6
  407. 000003E2  4E75                     rts
  408. fn000003E4:
  409. 000003E4  4E56 FFF2                link       A6, -0x000E
  410. 000003E8  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  411. 000003EC  266E 0010                movea.l    A3, [A6 + 0x10]
  412. 000003F0  206B 000A                movea.l    A0, [A3 + 0xA]
  413. 000003F4  2D50 FFFC                move.l     [A6 - 0x4], [A0]
  414. 000003F8  302B 0010                move.w     D0, [A3 + 0x10]
  415. 000003FC  48C0                     ext.l      D0
  416. 000003FE  7216                     moveq.l    D1, 0x16
  417. 00000400  4C01 0800                movem.w    A3, D1
  418. 00000404  41F3 0812                lea.l      A0, [A3 + D0 + 0x12]
  419. 00000408  2D48 FFF8                move.l     [A6 - 0x8], A0
  420. 0000040C  206E FFF8                movea.l    A0, [A6 - 0x8]
  421. 00000410  2868 000A                movea.l    A4, [A0 + 0xA]
  422. 00000414  D9D3                     add.l      A4, [A3]
  423. 00000416  7003                     moveq.l    D0, 0x03
  424. 00000418  2F00                     move.l     -[A7], D0
  425. 0000041A  7208                     moveq.l    D1, 0x08
  426. 0000041C  2F01                     move.l     -[A7], D1
  427. 0000041E  2F0C                     move.l     -[A7], A4
  428. 00000420  4EBA FD68                jsr        [PC - 0x298 /* 0000018A */]
  429. 00000424  2E00                     move.l     D7, D0
  430. 00000426  2007                     move.l     D0, D7
  431. 00000428  4C7C 0801 0000 0240      movem.l    D0,A3, 0x240
  432. 00000430  3A01                     move.w     D5, D1
  433. 00000432  2007                     move.l     D0, D7
  434. 00000434  4C7C 0800 0000 0240      movem.l    A3, 0x240
  435. 0000043C  3C00                     move.w     D6, D0
  436. 0000043E  206E FFFC                movea.l    A0, [A6 - 0x4]
  437. 00000442  3828 0356                move.w     D4, [A0 + 0x356]
  438. 00000446  3004                     move.w     D0, D4
  439. 00000448  48C0                     ext.l      D0
  440. 0000044A  81EE 000A                divs.w     D0, [A6 + 0xA]
  441. 0000044E  3204                     move.w     D1, D4
  442. 00000450  9240                     sub.w      D1, D0
  443. 00000452  3D41 FFF2                move.w     [A6 - 0xE], D1
  444. 00000456  4A45                     tst.w      D5
  445. 00000458  4FEF 000C                lea.l      A7, [A7 + 0xC]
  446. 0000045C  6C02                     bge        +0x4 /* 00000460 */
  447. 0000045E  4245                     clr.w      D5
  448. label00000460:
  449. 00000460  BA6E FFF2                cmp.w      D5, [A6 - 0xE]
  450. 00000464  6F04                     ble        +0x6 /* 0000046A */
  451. 00000466  3A2E FFF2                move.w     D5, [A6 - 0xE]
  452. label0000046A:
  453. 0000046A  206E FFFC                movea.l    A0, [A6 - 0x4]
  454. 0000046E  3828 0358                move.w     D4, [A0 + 0x358]
  455. 00000472  3004                     move.w     D0, D4
  456. 00000474  48C0                     ext.l      D0
  457. 00000476  81EE 000A                divs.w     D0, [A6 + 0xA]
  458. 0000047A  3204                     move.w     D1, D4
  459. 0000047C  9240                     sub.w      D1, D0
  460. 0000047E  3D41 FFF4                move.w     [A6 - 0xC], D1
  461. 00000482  4A46                     tst.w      D6
  462. 00000484  6C02                     bge        +0x4 /* 00000488 */
  463. 00000486  4246                     clr.w      D6
  464. label00000488:
  465. 00000488  BC6E FFF4                cmp.w      D6, [A6 - 0xC]
  466. 0000048C  6F04                     ble        +0x6 /* 00000492 */
  467. 0000048E  3C2E FFF4                move.w     D6, [A6 - 0xC]
  468. label00000492:
  469. 00000492  206E FFFC                movea.l    A0, [A6 - 0x4]
  470. 00000496  2828 035C                move.l     D4, [A0 + 0x35C]
  471. 0000049A  4A6E 000E                tst.w      [A6 + 0xE]
  472. 0000049E  6708                     beq        +0xA /* 000004A8 */
  473. 000004A0  2F13                     move.l     -[A7], [A3]
  474. 000004A2  4EBA FD90                jsr        [PC - 0x270 /* 00000234 */]
  475. 000004A6  584F                     addq.w     A7, 4
  476. label000004A8:
  477. 000004A8  1D7C 0001 FFF7           move.b     [A6 - 0x9], 0x1
  478. 000004AE  41EE FFF7                lea.l      A0, [A6 - 0x9]
  479. 000004B2  1010                     move.b     D0, [A0]
  480. 000004B4  A05D                     syscall    SwapMMUMode
  481. 000004B6  1080                     move.b     [A0], D0
  482. 000004B8  7000                     moveq.l    D0, 0x00
  483. 000004BA  302C 005A                move.w     D0, [A4 + 0x5A]
  484. 000004BE  4A80                     tst.l      D0
  485. 000004C0  323C 00F0                move.w     D1, 0xF0
  486. 000004C4  C240                     and.w      D1, D0
  487. 000004C6  7000                     moveq.l    D0, 0x00
  488. 000004C8  3001                     move.w     D0, D1
  489. 000004CA  4A80                     tst.l      D0
  490. 000004CC  322E 000A                move.w     D1, [A6 + 0xA]
  491. 000004D0  48C1                     ext.l      D1
  492. 000004D2  5381                     subq.l     D1, 1
  493. 000004D4  8280                     or.l       D1, D0
  494. 000004D6  3941 005A                move.w     [A4 + 0x5A], D1
  495. 000004DA  302E 000A                move.w     D0, [A6 + 0xA]
  496. 000004DE  4640                     not.w      D0
  497. 000004E0  3940 005C                move.w     [A4 + 0x5C], D0
  498. 000004E4  48C6                     ext.l      D6
  499. 000004E6  2004                     move.l     D0, D4
  500. 000004E8  4C06 0800                movem.w    A3, D6
  501. 000004EC  48C5                     ext.l      D5
  502. 000004EE  D085                     add.l      D0, D5
  503. 000004F0  2E00                     move.l     D7, D0
  504. 000004F2  4687                     not.l      D7
  505. 000004F4  7010                     moveq.l    D0, 0x10
  506. 000004F6  2207                     move.l     D1, D7
  507. 000004F8  E0A1                     asr        D1, D0
  508. 000004FA  3941 0012                move.w     [A4 + 0x12], D1
  509. 000004FE  2007                     move.l     D0, D7
  510. 00000500  E080                     asr        D0, 8
  511. 00000502  3940 0014                move.w     [A4 + 0x14], D0
  512. 00000506  3947 0016                move.w     [A4 + 0x16], D7
  513. 0000050A  41EE FFF7                lea.l      A0, [A6 - 0x9]
  514. 0000050E  1010                     move.b     D0, [A0]
  515. 00000510  A05D                     syscall    SwapMMUMode
  516. 00000512  1080                     move.b     [A0], D0
  517. 00000514  4CEE 18F0 FFDA           movem.l    D4,D5,D6,D7,A3,A4, [A6 - 0x26]
  518. 0000051A  4E5E                     unlink     A6
  519. 0000051C  4E75                     rts
  520. fn0000051E:
  521. 0000051E  4E56 FFFC                link       A6, -0x0004
  522. 00000522  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  523. 00000526  286E 0014                movea.l    A4, [A6 + 0x14]
  524. 0000052A  206C 000A                movea.l    A0, [A4 + 0xA]
  525. 0000052E  2650                     movea.l    A3, [A0]
  526. 00000530  302C 0010                move.w     D0, [A4 + 0x10]
  527. 00000534  48C0                     ext.l      D0
  528. 00000536  7216                     moveq.l    D1, 0x16
  529. 00000538  4C01 0800                movem.w    A3, D1
  530. 0000053C  41F4 0812                lea.l      A0, [A4 + D0 + 0x12]
  531. 00000540  2D48 FFFC                move.l     [A6 - 0x4], A0
  532. 00000544  206E FFFC                movea.l    A0, [A6 - 0x4]
  533. 00000548  2C28 000A                move.l     D6, [A0 + 0xA]
  534. 0000054C  DC94                     add.l      D6, [A4]
  535. 0000054E  7001                     moveq.l    D0, 0x01
  536. 00000550  2F00                     move.l     -[A7], D0
  537. 00000552  722E                     moveq.l    D1, 0x2E
  538. 00000554  2F01                     move.l     -[A7], D1
  539. 00000556  2F06                     move.l     -[A7], D6
  540. 00000558  4EBA FC30                jsr        [PC - 0x3D0 /* 0000018A */]
  541. 0000055C  2A00                     move.l     D5, D0
  542. 0000055E  CABC 0000 000F           and.l      D5, 0xF
  543. 00000564  3E2B 0356                move.w     D7, [A3 + 0x356]
  544. 00000568  3007                     move.w     D0, D7
  545. 0000056A  48C0                     ext.l      D0
  546. 0000056C  81C5                     divs.w     D0, D5
  547. 0000056E  3807                     move.w     D4, D7
  548. 00000570  9840                     sub.w      D4, D0
  549. 00000572  4A6E 000A                tst.w      [A6 + 0xA]
  550. 00000576  4FEF 000C                lea.l      A7, [A7 + 0xC]
  551. 0000057A  6C04                     bge        +0x6 /* 00000580 */
  552. 0000057C  426E 000A                clr.w      [A6 + 0xA]
  553. label00000580:
  554. 00000580  B86E 000A                cmp.w      D4, [A6 + 0xA]
  555. 00000584  6C04                     bge        +0x6 /* 0000058A */
  556. 00000586  3D44 000A                move.w     [A6 + 0xA], D4
  557. label0000058A:
  558. 0000058A  3E2B 0358                move.w     D7, [A3 + 0x358]
  559. 0000058E  3007                     move.w     D0, D7
  560. 00000590  48C0                     ext.l      D0
  561. 00000592  81C5                     divs.w     D0, D5
  562. 00000594  3807                     move.w     D4, D7
  563. 00000596  9840                     sub.w      D4, D0
  564. 00000598  4A6E 000E                tst.w      [A6 + 0xE]
  565. 0000059C  6C04                     bge        +0x6 /* 000005A2 */
  566. 0000059E  426E 000E                clr.w      [A6 + 0xE]
  567. label000005A2:
  568. 000005A2  B86E 000E                cmp.w      D4, [A6 + 0xE]
  569. 000005A6  6C04                     bge        +0x6 /* 000005AC */
  570. 000005A8  3D44 000E                move.w     [A6 + 0xE], D4
  571. label000005AC:
  572. 000005AC  4A6E 0012                tst.w      [A6 + 0x12]
  573. 000005B0  6708                     beq        +0xA /* 000005BA */
  574. 000005B2  2F14                     move.l     -[A7], [A4]
  575. 000005B4  4EBA FC7E                jsr        [PC - 0x382 /* 00000234 */]
  576. 000005B8  584F                     addq.w     A7, 4
  577. label000005BA:
  578. 000005BA  7003                     moveq.l    D0, 0x03
  579. 000005BC  2F00                     move.l     -[A7], D0
  580. 000005BE  322E 000E                move.w     D1, [A6 + 0xE]
  581. 000005C2  48C1                     ext.l      D1
  582. 000005C4  4C2B 1000 035C           movem.w    A4, [A3 + 0x35C]
  583. 000005CA  342E 000A                move.w     D2, [A6 + 0xA]
  584. 000005CE  48C2                     ext.l      D2
  585. 000005D0  D481                     add.l      D2, D1
  586. 000005D2  2F02                     move.l     -[A7], D2
  587. 000005D4  7208                     moveq.l    D1, 0x08
  588. 000005D6  2F01                     move.l     -[A7], D1
  589. 000005D8  2F06                     move.l     -[A7], D6
  590. 000005DA  4EBA FB3A                jsr        [PC - 0x4C6 /* 00000116 */]
  591. 000005DE  4FEF 0010                lea.l      A7, [A7 + 0x10]
  592. 000005E2  4CEE 18F0 FFE4           movem.l    D4,D5,D6,D7,A3,A4, [A6 - 0x1C]
  593. 000005E8  4E5E                     unlink     A6
  594. 000005EA  4E75                     rts
  595. fn000005EC:
  596. 000005EC  4E56 0000                link       A6, 0
  597. 000005F0  2F07                     move.l     -[A7], D7
  598. 000005F2  3E2E 000A                move.w     D7, [A6 + 0xA]
  599. 000005F6  BE6E 000E                cmp.w      D7, [A6 + 0xE]
  600. 000005FA  6D0C                     blt        +0xE /* 00000608 */
  601. 000005FC  BE6E 0012                cmp.w      D7, [A6 + 0x12]
  602. 00000600  6E06                     bgt        +0x8 /* 00000608 */
  603. 00000602  7001                     moveq.l    D0, 0x01
  604. 00000604  6004                     bra        +0x6 /* 0000060A */
  605. 00000606  6002                     bra        +0x4 /* 0000060A */
  606. label00000608:
  607. 00000608  7000                     moveq.l    D0, 0x00
  608. label0000060A:
  609. 0000060A  2E2E FFFC                move.l     D7, [A6 - 0x4]
  610. 0000060E  4E5E                     unlink     A6
  611. 00000610  4E75                     rts
  612. fn00000612:
  613. 00000612  4E56 FFFE                link       A6, -0x0002
  614. 00000616  48E7 0108                movem.l    -[A7], D7,A4
  615. 0000061A  3E2E 0012                move.w     D7, [A6 + 0x12]
  616. 0000061E  202E 000C                move.l     D0, [A6 + 0xC]
  617. 00000622  E580                     asl        D0, 2
  618. 00000624  2840                     movea.l    A4, D0
  619. 00000626  D9EE 0008                add.l      A4, [A6 + 0x8]
  620. 0000062A  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  621. 00000630  41EE FFFF                lea.l      A0, [A6 - 0x1]
  622. 00000634  1010                     move.b     D0, [A0]
  623. 00000636  A05D                     syscall    SwapMMUMode
  624. 00000638  1080                     move.b     [A0], D0
  625. 0000063A  4A6E 0016                tst.w      [A6 + 0x16]
  626. 0000063E  6708                     beq        +0xA /* 00000648 */
  627. 00000640  7001                     moveq.l    D0, 0x01
  628. 00000642  EFA8                     lsl        D0, D7
  629. 00000644  8194                     or.l       [A4], D0
  630. 00000646  6008                     bra        +0xA /* 00000650 */
  631. label00000648:
  632. 00000648  7001                     moveq.l    D0, 0x01
  633. 0000064A  EFA8                     lsl        D0, D7
  634. 0000064C  4680                     not.l      D0
  635. 0000064E  C194                     and.l      [A4], D0
  636. label00000650:
  637. 00000650  41EE FFFF                lea.l      A0, [A6 - 0x1]
  638. 00000654  1010                     move.b     D0, [A0]
  639. 00000656  A05D                     syscall    SwapMMUMode
  640. 00000658  1080                     move.b     [A0], D0
  641. 0000065A  4CEE 1080 FFF6           movem.l    D7,A4, [A6 - 0xA]
  642. 00000660  4E5E                     unlink     A6
  643. 00000662  4E75                     rts
  644. fn00000664:
  645. 00000664  4E56 FFEA                link       A6, -0x0016
  646. 00000668  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  647. 0000066C  286E 0008                movea.l    A4, [A6 + 0x8]
  648. 00000670  4246                     clr.w      D6
  649. 00000672  302C 0010                move.w     D0, [A4 + 0x10]
  650. 00000676  48C0                     ext.l      D0
  651. 00000678  7216                     moveq.l    D1, 0x16
  652. 0000067A  4C01 0800                movem.w    A3, D1
  653. 0000067E  47F4 0812                lea.l      A3, [A4 + D0 + 0x12]
  654. 00000682  2E2B 0012                move.l     D7, [A3 + 0x12]
  655. 00000686  DE94                     add.l      D7, [A4]
  656. 00000688  7002                     moveq.l    D0, 0x02
  657. 0000068A  2F00                     move.l     -[A7], D0
  658. 0000068C  720E                     moveq.l    D1, 0x0E
  659. 0000068E  2F01                     move.l     -[A7], D1
  660. 00000690  2F07                     move.l     -[A7], D7
  661. 00000692  4EBA 0478                jsr        [PC + 0x478 /* 00000B0C */]
  662. 00000696  4A40                     tst.w      D0
  663. 00000698  4FEF 000C                lea.l      A7, [A7 + 0xC]
  664. 0000069C  6700 00E6                beq        +0xE8 /* 00000784 */
  665. 000006A0  7004                     moveq.l    D0, 0x04
  666. 000006A2  2F00                     move.l     -[A7], D0
  667. 000006A4  720E                     moveq.l    D1, 0x0E
  668. 000006A6  2F01                     move.l     -[A7], D1
  669. 000006A8  2F07                     move.l     -[A7], D7
  670. 000006AA  4EBA 0460                jsr        [PC + 0x460 /* 00000B0C */]
  671. 000006AE  4A40                     tst.w      D0
  672. 000006B0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  673. 000006B4  6748                     beq        +0x4A /* 000006FE */
  674. 000006B6  7000                     moveq.l    D0, 0x00
  675. 000006B8  2D40 FFF0                move.l     [A6 - 0x10], D0
  676. 000006BC  41EE FFEA                lea.l      A0, [A6 - 0x16]
  677. 000006C0  A058                     syscall    InsTime
  678. 000006C2  41EE FFEA                lea.l      A0, [A6 - 0x16]
  679. 000006C6  203C FFFE A070           move.l     D0, 0xFFFEA070
  680. 000006CC  A05A                     syscall    PrimeTime
  681. 000006CE  6016                     bra        +0x18 /* 000006E6 */
  682. label000006D0:
  683. 000006D0  7002                     moveq.l    D0, 0x02
  684. 000006D2  2F00                     move.l     -[A7], D0
  685. 000006D4  720E                     moveq.l    D1, 0x0E
  686. 000006D6  2F01                     move.l     -[A7], D1
  687. 000006D8  2F07                     move.l     -[A7], D7
  688. 000006DA  4EBA 0430                jsr        [PC + 0x430 /* 00000B0C */]
  689. 000006DE  4A40                     tst.w      D0
  690. 000006E0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  691. 000006E4  6706                     beq        +0x8 /* 000006EC */
  692. label000006E6:
  693. 000006E6  4A6E FFEE                tst.w      [A6 - 0x12]
  694. 000006EA  6DE4                     blt        -0x1A /* 000006D0 */
  695. label000006EC:
  696. 000006EC  41EE FFEA                lea.l      A0, [A6 - 0x16]
  697. 000006F0  A059                     syscall    RmvTime
  698. 000006F2  4AAE FFF4                tst.l      [A6 - 0xC]
  699. 000006F6  6E00 008C                bgt        +0x8E /* 00000784 */
  700. 000006FA  6000 0088                bra        +0x8A /* 00000784 */
  701. label000006FE:
  702. 000006FE  7005                     moveq.l    D0, 0x05
  703. 00000700  2F00                     move.l     -[A7], D0
  704. 00000702  720E                     moveq.l    D1, 0x0E
  705. 00000704  2F01                     move.l     -[A7], D1
  706. 00000706  2F07                     move.l     -[A7], D7
  707. 00000708  4EBA 0402                jsr        [PC + 0x402 /* 00000B0C */]
  708. 0000070C  4A40                     tst.w      D0
  709. 0000070E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  710. 00000712  6770                     beq        +0x72 /* 00000784 */
  711. 00000714  7C01                     moveq.l    D6, 0x01
  712. 00000716  7000                     moveq.l    D0, 0x00
  713. 00000718  2F00                     move.l     -[A7], D0
  714. 0000071A  7205                     moveq.l    D1, 0x05
  715. 0000071C  2F01                     move.l     -[A7], D1
  716. 0000071E  700E                     moveq.l    D0, 0x0E
  717. 00000720  2F00                     move.l     -[A7], D0
  718. 00000722  2F07                     move.l     -[A7], D7
  719. 00000724  4EBA FEEC                jsr        [PC - 0x114 /* 00000612 */]
  720. 00000728  7000                     moveq.l    D0, 0x00
  721. 0000072A  2D40 FFF0                move.l     [A6 - 0x10], D0
  722. 0000072E  41EE FFEA                lea.l      A0, [A6 - 0x16]
  723. 00000732  A058                     syscall    InsTime
  724. 00000734  41EE FFEA                lea.l      A0, [A6 - 0x16]
  725. 00000738  203C FFFE A070           move.l     D0, 0xFFFEA070
  726. 0000073E  A05A                     syscall    PrimeTime
  727. 00000740  4FEF 0010                lea.l      A7, [A7 + 0x10]
  728. 00000744  6016                     bra        +0x18 /* 0000075C */
  729. label00000746:
  730. 00000746  7002                     moveq.l    D0, 0x02
  731. 00000748  2F00                     move.l     -[A7], D0
  732. 0000074A  720E                     moveq.l    D1, 0x0E
  733. 0000074C  2F01                     move.l     -[A7], D1
  734. 0000074E  2F07                     move.l     -[A7], D7
  735. 00000750  4EBA 03BA                jsr        [PC + 0x3BA /* 00000B0C */]
  736. 00000754  4A40                     tst.w      D0
  737. 00000756  4FEF 000C                lea.l      A7, [A7 + 0xC]
  738. 0000075A  6706                     beq        +0x8 /* 00000762 */
  739. label0000075C:
  740. 0000075C  4A6E FFEE                tst.w      [A6 - 0x12]
  741. 00000760  6DE4                     blt        -0x1A /* 00000746 */
  742. label00000762:
  743. 00000762  41EE FFEA                lea.l      A0, [A6 - 0x16]
  744. 00000766  A059                     syscall    RmvTime
  745. 00000768  4AAE FFF4                tst.l      [A6 - 0xC]
  746. 0000076C  6E16                     bgt        +0x18 /* 00000784 */
  747. 0000076E  7000                     moveq.l    D0, 0x00
  748. 00000770  2F00                     move.l     -[A7], D0
  749. 00000772  7205                     moveq.l    D1, 0x05
  750. 00000774  2F01                     move.l     -[A7], D1
  751. 00000776  700E                     moveq.l    D0, 0x0E
  752. 00000778  2F00                     move.l     -[A7], D0
  753. 0000077A  2F07                     move.l     -[A7], D7
  754. 0000077C  4EBA FE94                jsr        [PC - 0x16C /* 00000612 */]
  755. 00000780  4FEF 0010                lea.l      A7, [A7 + 0x10]
  756. label00000784:
  757. 00000784  3006                     move.w     D0, D6
  758. 00000786  4CEE 18C0 FFDA           movem.l    D6,D7,A3,A4, [A6 - 0x26]
  759. 0000078C  4E5E                     unlink     A6
  760. 0000078E  4E75                     rts
  761. fn00000790:
  762. 00000790  4E56 FFFC                link       A6, -0x0004
  763. 00000794  48E7 0718                movem.l    -[A7], D5,D6,D7,A3,A4
  764. 00000798  3A2E 000A                move.w     D5, [A6 + 0xA]
  765. 0000079C  286E 000C                movea.l    A4, [A6 + 0xC]
  766. 000007A0  302C 0010                move.w     D0, [A4 + 0x10]
  767. 000007A4  48C0                     ext.l      D0
  768. 000007A6  7216                     moveq.l    D1, 0x16
  769. 000007A8  4C01 0800                movem.w    A3, D1
  770. 000007AC  41F4 0812                lea.l      A0, [A4 + D0 + 0x12]
  771. 000007B0  2D48 FFFC                move.l     [A6 - 0x4], A0
  772. 000007B4  206E FFFC                movea.l    A0, [A6 - 0x4]
  773. 000007B8  2E28 000A                move.l     D7, [A0 + 0xA]
  774. 000007BC  DE94                     add.l      D7, [A4]
  775. 000007BE  7001                     moveq.l    D0, 0x01
  776. 000007C0  2F00                     move.l     -[A7], D0
  777. 000007C2  722C                     moveq.l    D1, 0x2C
  778. 000007C4  2F01                     move.l     -[A7], D1
  779. 000007C6  2F07                     move.l     -[A7], D7
  780. 000007C8  4EBA F9C0                jsr        [PC - 0x640 /* 0000018A */]
  781. 000007CC  727F                     moveq.l    D1, 0x7F
  782. 000007CE  C280                     and.l      D1, D0
  783. 000007D0  7002                     moveq.l    D0, 0x02
  784. 000007D2  C045                     and.w      D0, D5
  785. 000007D4  6708                     beq        +0xA /* 000007DE */
  786. 000007D6  203C 0000 0080           move.l     D0, 0x80
  787. 000007DC  6002                     bra        +0x4 /* 000007E0 */
  788. label000007DE:
  789. 000007DE  7000                     moveq.l    D0, 0x00
  790. label000007E0:
  791. 000007E0  7400                     moveq.l    D2, 0x00
  792. 000007E2  1400                     move.b     D2, D0
  793. 000007E4  4A82                     tst.l      D2
  794. 000007E6  2C02                     move.l     D6, D2
  795. 000007E8  8C81                     or.l       D6, D1
  796. 000007EA  7001                     moveq.l    D0, 0x01
  797. 000007EC  2F00                     move.l     -[A7], D0
  798. 000007EE  48C6                     ext.l      D6
  799. 000007F0  2F06                     move.l     -[A7], D6
  800. 000007F2  722C                     moveq.l    D1, 0x2C
  801. 000007F4  2F01                     move.l     -[A7], D1
  802. 000007F6  2F07                     move.l     -[A7], D7
  803. 000007F8  4EBA F91C                jsr        [PC - 0x6E4 /* 00000116 */]
  804. 000007FC  7002                     moveq.l    D0, 0x02
  805. 000007FE  C045                     and.w      D0, D5
  806. 00000800  6704                     beq        +0x6 /* 00000806 */
  807. 00000802  7001                     moveq.l    D0, 0x01
  808. 00000804  6002                     bra        +0x4 /* 00000808 */
  809. label00000806:
  810. 00000806  7000                     moveq.l    D0, 0x00
  811. label00000808:
  812. 00000808  4880                     ext.w      D0
  813. 0000080A  206E FFFC                movea.l    A0, [A6 - 0x4]
  814. 0000080E  3140 0008                move.w     [A0 + 0x8], D0
  815. 00000812  206E FFFC                movea.l    A0, [A6 - 0x4]
  816. 00000816  3028 0008                move.w     D0, [A0 + 0x8]
  817. 0000081A  48C0                     ext.l      D0
  818. 0000081C  4C3C 0800 0000           movem.w    A3, 0x0
  819. 00000822  0122                     btst       -[A2], D0
  820. 00000824  47F4 086A                lea.l      A3, [A4 + D0 + 0x6A]
  821. 00000828  3E13                     move.w     D7, [A3]
  822. 0000082A  3C2B 0002                move.w     D6, [A3 + 0x2]
  823. 0000082E  3745 0006                move.w     [A3 + 0x6], D5
  824. 00000832  3005                     move.w     D0, D5
  825. 00000834  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  826. 00000838  6B00 02C8                bmi        +0x2CA /* 00000B02 */
  827. 0000083C  0C40 0007                cmpi.w     D0, 0x7
  828. 00000840  6E00 02C0                bgt        +0x2C2 /* 00000B02 */
  829. 00000844  D040                     add.w      D0, D0
  830. 00000846  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  831. 0000084A  4EFB 0000                jmp        [PC + D0.w]
  832. 0000084E  0012 00BC                ori.b      [A2], 0xBC
  833. 00000852  0012 00BC                ori.b      [A2], 0xBC
  834. 00000856  0166                     bchg       -[A6], D0
  835. 00000858  0210 0166                andi.b     [A0], 0x66 /* 'f' */
  836. 0000085C  0210 2F0C                andi.b     [A0], 0xC
  837. 00000860  7030                     moveq.l    D0, 0x30
  838. 00000862  2F00                     move.l     -[A7], D0
  839. 00000864  720E                     moveq.l    D1, 0x0E
  840. 00000866  2F01                     move.l     -[A7], D1
  841. 00000868  48C7                     ext.l      D7
  842. 0000086A  2F07                     move.l     -[A7], D7
  843. 0000086C  4EBA 0B9C                jsr        [PC + 0xB9C /* 0000140A */]
  844. 00000870  2F0C                     move.l     -[A7], A4
  845. 00000872  7000                     moveq.l    D0, 0x00
  846. 00000874  102B 000E                move.b     D0, [A3 + 0xE]
  847. 00000878  4A80                     tst.l      D0
  848. 0000087A  323C FF7F                move.w     D1, 0xFF7F
  849. 0000087E  C240                     and.w      D1, D0
  850. 00000880  7000                     moveq.l    D0, 0x00
  851. 00000882  3001                     move.w     D0, D1
  852. 00000884  4A80                     tst.l      D0
  853. 00000886  2F00                     move.l     -[A7], D0
  854. 00000888  7006                     moveq.l    D0, 0x06
  855. 0000088A  2F00                     move.l     -[A7], D0
  856. 0000088C  48C7                     ext.l      D7
  857. 0000088E  2F07                     move.l     -[A7], D7
  858. 00000890  4EBA 0B78                jsr        [PC + 0xB78 /* 0000140A */]
  859. 00000894  302B 0004                move.w     D0, [A3 + 0x4]
  860. 00000898  4FEF 0020                lea.l      A7, [A7 + 0x20]
  861. 0000089C  670A                     beq        +0xC /* 000008A8 */
  862. 0000089E  5340                     subq.w     D0, 1
  863. 000008A0  671E                     beq        +0x20 /* 000008C0 */
  864. 000008A2  5340                     subq.w     D0, 1
  865. 000008A4  6732                     beq        +0x34 /* 000008D8 */
  866. 000008A6  6046                     bra        +0x48 /* 000008EE */
  867. label000008A8:
  868. 000008A8  2F0C                     move.l     -[A7], A4
  869. 000008AA  707F                     moveq.l    D0, 0x7F
  870. 000008AC  2F00                     move.l     -[A7], D0
  871. 000008AE  720F                     moveq.l    D1, 0x0F
  872. 000008B0  2F01                     move.l     -[A7], D1
  873. 000008B2  48C7                     ext.l      D7
  874. 000008B4  2F07                     move.l     -[A7], D7
  875. 000008B6  4EBA 0B52                jsr        [PC + 0xB52 /* 0000140A */]
  876. 000008BA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  877. 000008BE  602E                     bra        +0x30 /* 000008EE */
  878. label000008C0:
  879. 000008C0  2F0C                     move.l     -[A7], A4
  880. 000008C2  7039                     moveq.l    D0, 0x39
  881. 000008C4  2F00                     move.l     -[A7], D0
  882. 000008C6  720F                     moveq.l    D1, 0x0F
  883. 000008C8  2F01                     move.l     -[A7], D1
  884. 000008CA  48C7                     ext.l      D7
  885. 000008CC  2F07                     move.l     -[A7], D7
  886. 000008CE  4EBA 0B3A                jsr        [PC + 0xB3A /* 0000140A */]
  887. 000008D2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  888. 000008D6  6016                     bra        +0x18 /* 000008EE */
  889. label000008D8:
  890. 000008D8  2F0C                     move.l     -[A7], A4
  891. 000008DA  703F                     moveq.l    D0, 0x3F
  892. 000008DC  2F00                     move.l     -[A7], D0
  893. 000008DE  720F                     moveq.l    D1, 0x0F
  894. 000008E0  2F01                     move.l     -[A7], D1
  895. 000008E2  48C7                     ext.l      D7
  896. 000008E4  2F07                     move.l     -[A7], D7
  897. 000008E6  4EBA 0B22                jsr        [PC + 0xB22 /* 0000140A */]
  898. 000008EA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  899. label000008EE:
  900. 000008EE  2F0C                     move.l     -[A7], A4
  901. 000008F0  707A                     moveq.l    D0, 0x7A
  902. 000008F2  2F00                     move.l     -[A7], D0
  903. 000008F4  7200                     moveq.l    D1, 0x00
  904. 000008F6  2F01                     move.l     -[A7], D1
  905. 000008F8  48C6                     ext.l      D6
  906. 000008FA  2F06                     move.l     -[A7], D6
  907. 000008FC  4EBA 0B0C                jsr        [PC + 0xB0C /* 0000140A */]
  908. 00000900  4FEF 0010                lea.l      A7, [A7 + 0x10]
  909. 00000904  6000 01FC                bra        +0x1FE /* 00000B02 */
  910. 00000908  2F0C                     move.l     -[A7], A4
  911. 0000090A  7031                     moveq.l    D0, 0x31
  912. 0000090C  2F00                     move.l     -[A7], D0
  913. 0000090E  720E                     moveq.l    D1, 0x0E
  914. 00000910  2F01                     move.l     -[A7], D1
  915. 00000912  48C7                     ext.l      D7
  916. 00000914  2F07                     move.l     -[A7], D7
  917. 00000916  4EBA 0AF2                jsr        [PC + 0xAF2 /* 0000140A */]
  918. 0000091A  2F0C                     move.l     -[A7], A4
  919. 0000091C  7000                     moveq.l    D0, 0x00
  920. 0000091E  102B 000E                move.b     D0, [A3 + 0xE]
  921. 00000922  4A80                     tst.l      D0
  922. 00000924  323C FF7F                move.w     D1, 0xFF7F
  923. 00000928  C240                     and.w      D1, D0
  924. 0000092A  7000                     moveq.l    D0, 0x00
  925. 0000092C  3001                     move.w     D0, D1
  926. 0000092E  4A80                     tst.l      D0
  927. 00000930  2F00                     move.l     -[A7], D0
  928. 00000932  7006                     moveq.l    D0, 0x06
  929. 00000934  2F00                     move.l     -[A7], D0
  930. 00000936  48C7                     ext.l      D7
  931. 00000938  2F07                     move.l     -[A7], D7
  932. 0000093A  4EBA 0ACE                jsr        [PC + 0xACE /* 0000140A */]
  933. 0000093E  302B 0004                move.w     D0, [A3 + 0x4]
  934. 00000942  4FEF 0020                lea.l      A7, [A7 + 0x20]
  935. 00000946  670A                     beq        +0xC /* 00000952 */
  936. 00000948  5340                     subq.w     D0, 1
  937. 0000094A  671E                     beq        +0x20 /* 0000096A */
  938. 0000094C  5340                     subq.w     D0, 1
  939. 0000094E  6732                     beq        +0x34 /* 00000982 */
  940. 00000950  6046                     bra        +0x48 /* 00000998 */
  941. label00000952:
  942. 00000952  2F0C                     move.l     -[A7], A4
  943. 00000954  707F                     moveq.l    D0, 0x7F
  944. 00000956  2F00                     move.l     -[A7], D0
  945. 00000958  720F                     moveq.l    D1, 0x0F
  946. 0000095A  2F01                     move.l     -[A7], D1
  947. 0000095C  48C7                     ext.l      D7
  948. 0000095E  2F07                     move.l     -[A7], D7
  949. 00000960  4EBA 0AA8                jsr        [PC + 0xAA8 /* 0000140A */]
  950. 00000964  4FEF 0010                lea.l      A7, [A7 + 0x10]
  951. 00000968  602E                     bra        +0x30 /* 00000998 */
  952. label0000096A:
  953. 0000096A  2F0C                     move.l     -[A7], A4
  954. 0000096C  7039                     moveq.l    D0, 0x39
  955. 0000096E  2F00                     move.l     -[A7], D0
  956. 00000970  720F                     moveq.l    D1, 0x0F
  957. 00000972  2F01                     move.l     -[A7], D1
  958. 00000974  48C7                     ext.l      D7
  959. 00000976  2F07                     move.l     -[A7], D7
  960. 00000978  4EBA 0A90                jsr        [PC + 0xA90 /* 0000140A */]
  961. 0000097C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  962. 00000980  6016                     bra        +0x18 /* 00000998 */
  963. label00000982:
  964. 00000982  2F0C                     move.l     -[A7], A4
  965. 00000984  703F                     moveq.l    D0, 0x3F
  966. 00000986  2F00                     move.l     -[A7], D0
  967. 00000988  720F                     moveq.l    D1, 0x0F
  968. 0000098A  2F01                     move.l     -[A7], D1
  969. 0000098C  48C7                     ext.l      D7
  970. 0000098E  2F07                     move.l     -[A7], D7
  971. 00000990  4EBA 0A78                jsr        [PC + 0xA78 /* 0000140A */]
  972. 00000994  4FEF 0010                lea.l      A7, [A7 + 0x10]
  973. label00000998:
  974. 00000998  2F0C                     move.l     -[A7], A4
  975. 0000099A  707A                     moveq.l    D0, 0x7A
  976. 0000099C  2F00                     move.l     -[A7], D0
  977. 0000099E  7200                     moveq.l    D1, 0x00
  978. 000009A0  2F01                     move.l     -[A7], D1
  979. 000009A2  48C6                     ext.l      D6
  980. 000009A4  2F06                     move.l     -[A7], D6
  981. 000009A6  4EBA 0A62                jsr        [PC + 0xA62 /* 0000140A */]
  982. 000009AA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  983. 000009AE  6000 0152                bra        +0x154 /* 00000B02 */
  984. 000009B2  2F0C                     move.l     -[A7], A4
  985. 000009B4  7030                     moveq.l    D0, 0x30
  986. 000009B6  2F00                     move.l     -[A7], D0
  987. 000009B8  720E                     moveq.l    D1, 0x0E
  988. 000009BA  2F01                     move.l     -[A7], D1
  989. 000009BC  48C7                     ext.l      D7
  990. 000009BE  2F07                     move.l     -[A7], D7
  991. 000009C0  4EBA 0A48                jsr        [PC + 0xA48 /* 0000140A */]
  992. 000009C4  2F0C                     move.l     -[A7], A4
  993. 000009C6  7000                     moveq.l    D0, 0x00
  994. 000009C8  102B 000E                move.b     D0, [A3 + 0xE]
  995. 000009CC  4A80                     tst.l      D0
  996. 000009CE  323C 0080                move.w     D1, 0x80
  997. 000009D2  8200                     or.b       D1, D0
  998. 000009D4  7000                     moveq.l    D0, 0x00
  999. 000009D6  1001                     move.b     D0, D1
  1000. 000009D8  4A80                     tst.l      D0
  1001. 000009DA  2F00                     move.l     -[A7], D0
  1002. 000009DC  7006                     moveq.l    D0, 0x06
  1003. 000009DE  2F00                     move.l     -[A7], D0
  1004. 000009E0  48C7                     ext.l      D7
  1005. 000009E2  2F07                     move.l     -[A7], D7
  1006. 000009E4  4EBA 0A24                jsr        [PC + 0xA24 /* 0000140A */]
  1007. 000009E8  302B 0004                move.w     D0, [A3 + 0x4]
  1008. 000009EC  4FEF 0020                lea.l      A7, [A7 + 0x20]
  1009. 000009F0  670A                     beq        +0xC /* 000009FC */
  1010. 000009F2  5340                     subq.w     D0, 1
  1011. 000009F4  671E                     beq        +0x20 /* 00000A14 */
  1012. 000009F6  5340                     subq.w     D0, 1
  1013. 000009F8  6732                     beq        +0x34 /* 00000A2C */
  1014. 000009FA  6046                     bra        +0x48 /* 00000A42 */
  1015. label000009FC:
  1016. 000009FC  2F0C                     move.l     -[A7], A4
  1017. 000009FE  707F                     moveq.l    D0, 0x7F
  1018. 00000A00  2F00                     move.l     -[A7], D0
  1019. 00000A02  720F                     moveq.l    D1, 0x0F
  1020. 00000A04  2F01                     move.l     -[A7], D1
  1021. 00000A06  48C7                     ext.l      D7
  1022. 00000A08  2F07                     move.l     -[A7], D7
  1023. 00000A0A  4EBA 09FE                jsr        [PC + 0x9FE /* 0000140A */]
  1024. 00000A0E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1025. 00000A12  602E                     bra        +0x30 /* 00000A42 */
  1026. label00000A14:
  1027. 00000A14  2F0C                     move.l     -[A7], A4
  1028. 00000A16  703F                     moveq.l    D0, 0x3F
  1029. 00000A18  2F00                     move.l     -[A7], D0
  1030. 00000A1A  720F                     moveq.l    D1, 0x0F
  1031. 00000A1C  2F01                     move.l     -[A7], D1
  1032. 00000A1E  48C7                     ext.l      D7
  1033. 00000A20  2F07                     move.l     -[A7], D7
  1034. 00000A22  4EBA 09E6                jsr        [PC + 0x9E6 /* 0000140A */]
  1035. 00000A26  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1036. 00000A2A  6016                     bra        +0x18 /* 00000A42 */
  1037. label00000A2C:
  1038. 00000A2C  2F0C                     move.l     -[A7], A4
  1039. 00000A2E  703E                     moveq.l    D0, 0x3E
  1040. 00000A30  2F00                     move.l     -[A7], D0
  1041. 00000A32  720F                     moveq.l    D1, 0x0F
  1042. 00000A34  2F01                     move.l     -[A7], D1
  1043. 00000A36  48C7                     ext.l      D7
  1044. 00000A38  2F07                     move.l     -[A7], D7
  1045. 00000A3A  4EBA 09CE                jsr        [PC + 0x9CE /* 0000140A */]
  1046. 00000A3E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1047. label00000A42:
  1048. 00000A42  2F0C                     move.l     -[A7], A4
  1049. 00000A44  707A                     moveq.l    D0, 0x7A
  1050. 00000A46  2F00                     move.l     -[A7], D0
  1051. 00000A48  7200                     moveq.l    D1, 0x00
  1052. 00000A4A  2F01                     move.l     -[A7], D1
  1053. 00000A4C  48C6                     ext.l      D6
  1054. 00000A4E  2F06                     move.l     -[A7], D6
  1055. 00000A50  4EBA 09B8                jsr        [PC + 0x9B8 /* 0000140A */]
  1056. 00000A54  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1057. 00000A58  6000 00A8                bra        +0xAA /* 00000B02 */
  1058. 00000A5C  2F0C                     move.l     -[A7], A4
  1059. 00000A5E  7031                     moveq.l    D0, 0x31
  1060. 00000A60  2F00                     move.l     -[A7], D0
  1061. 00000A62  720E                     moveq.l    D1, 0x0E
  1062. 00000A64  2F01                     move.l     -[A7], D1
  1063. 00000A66  48C7                     ext.l      D7
  1064. 00000A68  2F07                     move.l     -[A7], D7
  1065. 00000A6A  4EBA 099E                jsr        [PC + 0x99E /* 0000140A */]
  1066. 00000A6E  2F0C                     move.l     -[A7], A4
  1067. 00000A70  7000                     moveq.l    D0, 0x00
  1068. 00000A72  102B 000E                move.b     D0, [A3 + 0xE]
  1069. 00000A76  4A80                     tst.l      D0
  1070. 00000A78  323C 0080                move.w     D1, 0x80
  1071. 00000A7C  8200                     or.b       D1, D0
  1072. 00000A7E  7000                     moveq.l    D0, 0x00
  1073. 00000A80  1001                     move.b     D0, D1
  1074. 00000A82  4A80                     tst.l      D0
  1075. 00000A84  2F00                     move.l     -[A7], D0
  1076. 00000A86  7006                     moveq.l    D0, 0x06
  1077. 00000A88  2F00                     move.l     -[A7], D0
  1078. 00000A8A  48C7                     ext.l      D7
  1079. 00000A8C  2F07                     move.l     -[A7], D7
  1080. 00000A8E  4EBA 097A                jsr        [PC + 0x97A /* 0000140A */]
  1081. 00000A92  302B 0004                move.w     D0, [A3 + 0x4]
  1082. 00000A96  4FEF 0020                lea.l      A7, [A7 + 0x20]
  1083. 00000A9A  670A                     beq        +0xC /* 00000AA6 */
  1084. 00000A9C  5340                     subq.w     D0, 1
  1085. 00000A9E  671E                     beq        +0x20 /* 00000ABE */
  1086. 00000AA0  5340                     subq.w     D0, 1
  1087. 00000AA2  6732                     beq        +0x34 /* 00000AD6 */
  1088. 00000AA4  6046                     bra        +0x48 /* 00000AEC */
  1089. label00000AA6:
  1090. 00000AA6  2F0C                     move.l     -[A7], A4
  1091. 00000AA8  707F                     moveq.l    D0, 0x7F
  1092. 00000AAA  2F00                     move.l     -[A7], D0
  1093. 00000AAC  720F                     moveq.l    D1, 0x0F
  1094. 00000AAE  2F01                     move.l     -[A7], D1
  1095. 00000AB0  48C7                     ext.l      D7
  1096. 00000AB2  2F07                     move.l     -[A7], D7
  1097. 00000AB4  4EBA 0954                jsr        [PC + 0x954 /* 0000140A */]
  1098. 00000AB8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1099. 00000ABC  602E                     bra        +0x30 /* 00000AEC */
  1100. label00000ABE:
  1101. 00000ABE  2F0C                     move.l     -[A7], A4
  1102. 00000AC0  703F                     moveq.l    D0, 0x3F
  1103. 00000AC2  2F00                     move.l     -[A7], D0
  1104. 00000AC4  720F                     moveq.l    D1, 0x0F
  1105. 00000AC6  2F01                     move.l     -[A7], D1
  1106. 00000AC8  48C7                     ext.l      D7
  1107. 00000ACA  2F07                     move.l     -[A7], D7
  1108. 00000ACC  4EBA 093C                jsr        [PC + 0x93C /* 0000140A */]
  1109. 00000AD0  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1110. 00000AD4  6016                     bra        +0x18 /* 00000AEC */
  1111. label00000AD6:
  1112. 00000AD6  2F0C                     move.l     -[A7], A4
  1113. 00000AD8  703E                     moveq.l    D0, 0x3E
  1114. 00000ADA  2F00                     move.l     -[A7], D0
  1115. 00000ADC  720F                     moveq.l    D1, 0x0F
  1116. 00000ADE  2F01                     move.l     -[A7], D1
  1117. 00000AE0  48C7                     ext.l      D7
  1118. 00000AE2  2F07                     move.l     -[A7], D7
  1119. 00000AE4  4EBA 0924                jsr        [PC + 0x924 /* 0000140A */]
  1120. 00000AE8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1121. label00000AEC:
  1122. 00000AEC  2F0C                     move.l     -[A7], A4
  1123. 00000AEE  707A                     moveq.l    D0, 0x7A
  1124. 00000AF0  2F00                     move.l     -[A7], D0
  1125. 00000AF2  7200                     moveq.l    D1, 0x00
  1126. 00000AF4  2F01                     move.l     -[A7], D1
  1127. 00000AF6  48C6                     ext.l      D6
  1128. 00000AF8  2F06                     move.l     -[A7], D6
  1129. 00000AFA  4EBA 090E                jsr        [PC + 0x90E /* 0000140A */]
  1130. 00000AFE  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1131. label00000B02:
  1132. 00000B02  4CEE 18E0 FFE8           movem.l    D5,D6,D7,A3,A4, [A6 - 0x18]
  1133. 00000B08  4E5E                     unlink     A6
  1134. 00000B0A  4E75                     rts
  1135. fn00000B0C:
  1136. 00000B0C  4E56 FFFE                link       A6, -0x0002
  1137. 00000B10  2F07                     move.l     -[A7], D7
  1138. 00000B12  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  1139. 00000B18  41EE FFFF                lea.l      A0, [A6 - 0x1]
  1140. 00000B1C  1010                     move.b     D0, [A0]
  1141. 00000B1E  A05D                     syscall    SwapMMUMode
  1142. 00000B20  1080                     move.b     [A0], D0
  1143. 00000B22  202E 000C                move.l     D0, [A6 + 0xC]
  1144. 00000B26  E580                     asl        D0, 2
  1145. 00000B28  D0AE 0008                add.l      D0, [A6 + 0x8]
  1146. 00000B2C  2040                     movea.l    A0, D0
  1147. 00000B2E  302E 0012                move.w     D0, [A6 + 0x12]
  1148. 00000B32  7201                     moveq.l    D1, 0x01
  1149. 00000B34  E1A9                     lsl        D1, D0
  1150. 00000B36  C290                     and.l      D1, [A0]
  1151. 00000B38  6704                     beq        +0x6 /* 00000B3E */
  1152. 00000B3A  7001                     moveq.l    D0, 0x01
  1153. 00000B3C  6002                     bra        +0x4 /* 00000B40 */
  1154. label00000B3E:
  1155. 00000B3E  7000                     moveq.l    D0, 0x00
  1156. label00000B40:
  1157. 00000B40  4880                     ext.w      D0
  1158. 00000B42  3E00                     move.w     D7, D0
  1159. 00000B44  41EE FFFF                lea.l      A0, [A6 - 0x1]
  1160. 00000B48  1010                     move.b     D0, [A0]
  1161. 00000B4A  A05D                     syscall    SwapMMUMode
  1162. 00000B4C  1080                     move.b     [A0], D0
  1163. 00000B4E  3007                     move.w     D0, D7
  1164. 00000B50  2E2E FFFA                move.l     D7, [A6 - 0x6]
  1165. 00000B54  4E5E                     unlink     A6
  1166. 00000B56  4E75                     rts
  1167. fn00000B58:
  1168. 00000B58  4E56 0000                link       A6, 0
  1169. 00000B5C  48E7 0700                movem.l    -[A7], D5,D6,D7
  1170. 00000B60  2C2E 0008                move.l     D6, [A6 + 0x8]
  1171. 00000B64  7002                     moveq.l    D0, 0x02
  1172. 00000B66  2F00                     move.l     -[A7], D0
  1173. 00000B68  7206                     moveq.l    D1, 0x06
  1174. 00000B6A  2F01                     move.l     -[A7], D1
  1175. 00000B6C  2F06                     move.l     -[A7], D6
  1176. 00000B6E  4EBA F548                jsr        [PC - 0xAB8 /* 000000B8 */]
  1177. 00000B72  223C 0000 03FF           move.l     D1, 0x3FF
  1178. 00000B78  C280                     and.l      D1, D0
  1179. 00000B7A  203C 0000 0400           move.l     D0, 0x400
  1180. 00000B80  9081                     sub.l      D0, D1
  1181. 00000B82  D080                     add.l      D0, D0
  1182. 00000B84  3A00                     move.w     D5, D0
  1183. 00000B86  7001                     moveq.l    D0, 0x01
  1184. 00000B88  2F00                     move.l     -[A7], D0
  1185. 00000B8A  720D                     moveq.l    D1, 0x0D
  1186. 00000B8C  2F01                     move.l     -[A7], D1
  1187. 00000B8E  2F06                     move.l     -[A7], D6
  1188. 00000B90  4EBA F526                jsr        [PC - 0xADA /* 000000B8 */]
  1189. 00000B94  3E00                     move.w     D7, D0
  1190. 00000B96  303C 00B0                move.w     D0, 0xB0
  1191. 00000B9A  C047                     and.w      D0, D7
  1192. 00000B9C  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1193. 00000BA0  672C                     beq        +0x2E /* 00000BCE */
  1194. 00000BA2  0440 0010                subi.w     D0, 0x10
  1195. 00000BA6  672A                     beq        +0x2C /* 00000BD2 */
  1196. 00000BA8  0440 0010                subi.w     D0, 0x10
  1197. 00000BAC  6728                     beq        +0x2A /* 00000BD6 */
  1198. 00000BAE  0440 0010                subi.w     D0, 0x10
  1199. 00000BB2  6726                     beq        +0x28 /* 00000BDA */
  1200. 00000BB4  0440 0050                subi.w     D0, 0x50 /* 'P' */
  1201. 00000BB8  6724                     beq        +0x26 /* 00000BDE */
  1202. 00000BBA  0440 0010                subi.w     D0, 0x10
  1203. 00000BBE  671E                     beq        +0x20 /* 00000BDE */
  1204. 00000BC0  0440 0010                subi.w     D0, 0x10
  1205. 00000BC4  6718                     beq        +0x1A /* 00000BDE */
  1206. 00000BC6  0440 0010                subi.w     D0, 0x10
  1207. 00000BCA  6712                     beq        +0x14 /* 00000BDE */
  1208. 00000BCC  6012                     bra        +0x14 /* 00000BE0 */
  1209. label00000BCE:
  1210. 00000BCE  7E08                     moveq.l    D7, 0x08
  1211. 00000BD0  600E                     bra        +0x10 /* 00000BE0 */
  1212. label00000BD2:
  1213. 00000BD2  7E06                     moveq.l    D7, 0x06
  1214. 00000BD4  600A                     bra        +0xC /* 00000BE0 */
  1215. label00000BD6:
  1216. 00000BD6  7E04                     moveq.l    D7, 0x04
  1217. 00000BD8  6006                     bra        +0x8 /* 00000BE0 */
  1218. label00000BDA:
  1219. 00000BDA  7E02                     moveq.l    D7, 0x02
  1220. 00000BDC  6002                     bra        +0x4 /* 00000BE0 */
  1221. label00000BDE:
  1222. 00000BDE  7E01                     moveq.l    D7, 0x01
  1223. label00000BE0:
  1224. 00000BE0  3005                     move.w     D0, D5
  1225. 00000BE2  48C0                     ext.l      D0
  1226. 00000BE4  81C7                     divs.w     D0, D7
  1227. 00000BE6  4CEE 00E0 FFF4           movem.l    D5,D6,D7, [A6 - 0xC]
  1228. 00000BEC  4E5E                     unlink     A6
  1229. 00000BEE  4E75                     rts
  1230. fn00000BF0:
  1231. 00000BF0  4E56 0000                link       A6, 0
  1232. 00000BF4  48E7 0700                movem.l    -[A7], D5,D6,D7
  1233. 00000BF8  2E2E 0008                move.l     D7, [A6 + 0x8]
  1234. 00000BFC  7002                     moveq.l    D0, 0x02
  1235. 00000BFE  2F00                     move.l     -[A7], D0
  1236. 00000C00  2F00                     move.l     -[A7], D0
  1237. 00000C02  2F07                     move.l     -[A7], D7
  1238. 00000C04  4EBA F4B2                jsr        [PC - 0xB4E /* 000000B8 */]
  1239. 00000C08  223C 0000 03FF           move.l     D1, 0x3FF
  1240. 00000C0E  C280                     and.l      D1, D0
  1241. 00000C10  3C3C 0400                move.w     D6, 0x400
  1242. 00000C14  9C41                     sub.w      D6, D1
  1243. 00000C16  7001                     moveq.l    D0, 0x01
  1244. 00000C18  2F00                     move.l     -[A7], D0
  1245. 00000C1A  720D                     moveq.l    D1, 0x0D
  1246. 00000C1C  2F01                     move.l     -[A7], D1
  1247. 00000C1E  2F07                     move.l     -[A7], D7
  1248. 00000C20  4EBA F496                jsr        [PC - 0xB6A /* 000000B8 */]
  1249. 00000C24  7A07                     moveq.l    D5, 0x07
  1250. 00000C26  CA80                     and.l      D5, D0
  1251. 00000C28  48C6                     ext.l      D6
  1252. 00000C2A  48C5                     ext.l      D5
  1253. 00000C2C  7008                     moveq.l    D0, 0x08
  1254. 00000C2E  9085                     sub.l      D0, D5
  1255. 00000C30  2206                     move.l     D1, D6
  1256. 00000C32  4C40 1801                movem.l    D0,A3,A4, D0
  1257. 00000C36  3001                     move.w     D0, D1
  1258. 00000C38  4CEE 00E0 FFF4           movem.l    D5,D6,D7, [A6 - 0xC]
  1259. 00000C3E  4E5E                     unlink     A6
  1260. 00000C40  4E75                     rts
  1261. fn00000C42:
  1262. 00000C42  4E56 FFC2                link       A6, -0x003E
  1263. 00000C46  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  1264. 00000C4A  47EE FFD0                lea.l      A3, [A6 - 0x30]
  1265. 00000C4E  177C 00FF 002F           move.b     [A3 + 0x2F], 0xFF
  1266. 00000C54  177C 00FF 002E           move.b     [A3 + 0x2E], 0xFF
  1267. 00000C5A  177C 00FF 002D           move.b     [A3 + 0x2D], 0xFF
  1268. 00000C60  177C 0005 002C           move.b     [A3 + 0x2C], 0x5
  1269. 00000C66  177C 00F3 002B           move.b     [A3 + 0x2B], 0xF3
  1270. 00000C6C  177C 00FC 002A           move.b     [A3 + 0x2A], 0xFC
  1271. 00000C72  177C 0002 0029           move.b     [A3 + 0x29], 0x2
  1272. 00000C78  177C 0064 0028           move.b     [A3 + 0x28], 0x64 /* 'd' */
  1273. 00000C7E  177C 00FF 0027           move.b     [A3 + 0x27], 0xFF
  1274. 00000C84  177C 0006 0026           move.b     [A3 + 0x26], 0x6
  1275. 00000C8A  177C 0008 0025           move.b     [A3 + 0x25], 0x8
  1276. 00000C90  177C 00DD 0024           move.b     [A3 + 0x24], 0xDD
  1277. 00000C96  177C 0084 0023           move.b     [A3 + 0x23], 0x84
  1278. 00000C9C  177C 0008 0022           move.b     [A3 + 0x22], 0x8
  1279. 00000CA2  177C 00F2 0021           move.b     [A3 + 0x21], 0xF2
  1280. 00000CA8  177C 00A5 0020           move.b     [A3 + 0x20], 0xA5
  1281. 00000CAE  422B 001F                clr.b      [A3 + 0x1F]
  1282. 00000CB2  177C 0046 001E           move.b     [A3 + 0x1E], 0x46 /* 'F' */
  1283. 00000CB8  177C 00D4 001D           move.b     [A3 + 0x1D], 0xD4
  1284. 00000CBE  422B 001C                clr.b      [A3 + 0x1C]
  1285. 00000CC2  422B 001B                clr.b      [A3 + 0x1B]
  1286. 00000CC6  177C 00EA 001A           move.b     [A3 + 0x1A], 0xEA
  1287. 00000CCC  177C 00AB 0019           move.b     [A3 + 0x19], 0xAB
  1288. 00000CD2  177C 0002 0018           move.b     [A3 + 0x18], 0x2
  1289. 00000CD8  177C 0014 0017           move.b     [A3 + 0x17], 0x14
  1290. 00000CDE  177C 00B7 0016           move.b     [A3 + 0x16], 0xB7
  1291. 00000CE4  422B 0015                clr.b      [A3 + 0x15]
  1292. 00000CE8  177C 0011 0014           move.b     [A3 + 0x14], 0x11
  1293. 00000CEE  177C 0064 0013           move.b     [A3 + 0x13], 0x64 /* 'd' */
  1294. 00000CF4  422B 0012                clr.b      [A3 + 0x12]
  1295. 00000CF8  177C 0005 0011           move.b     [A3 + 0x11], 0x5
  1296. 00000CFE  177C 002C 0010           move.b     [A3 + 0x10], 0x2C /* ',' */
  1297. 00000D04  177C 0056 000F           move.b     [A3 + 0xF], 0x56 /* 'V' */
  1298. 00000D0A  177C 003A 000E           move.b     [A3 + 0xE], 0x3A /* ':' */
  1299. 00000D10  177C 0071 000D           move.b     [A3 + 0xD], 0x71 /* 'q' */
  1300. 00000D16  177C 0090 000C           move.b     [A3 + 0xC], 0x90
  1301. 00000D1C  177C 00C0 000B           move.b     [A3 + 0xB], 0xC0
  1302. 00000D22  177C 00C0 000A           move.b     [A3 + 0xA], 0xC0
  1303. 00000D28  177C 00C0 0009           move.b     [A3 + 0x9], 0xC0
  1304. 00000D2E  177C 0080 0008           move.b     [A3 + 0x8], 0x80
  1305. 00000D34  177C 0080 0007           move.b     [A3 + 0x7], 0x80
  1306. 00000D3A  177C 0080 0006           move.b     [A3 + 0x6], 0x80
  1307. 00000D40  177C 0040 0005           move.b     [A3 + 0x5], 0x40 /* '@' */
  1308. 00000D46  177C 0040 0004           move.b     [A3 + 0x4], 0x40 /* '@' */
  1309. 00000D4C  177C 0040 0003           move.b     [A3 + 0x3], 0x40 /* '@' */
  1310. 00000D52  422B 0002                clr.b      [A3 + 0x2]
  1311. 00000D56  422B 0001                clr.b      [A3 + 0x1]
  1312. 00000D5A  4213                     clr.b      [A3]
  1313. 00000D5C  4244                     clr.w      D4
  1314. label00000D5E:
  1315. 00000D5E  48C4                     ext.l      D4
  1316. 00000D60  206E 0008                movea.l    A0, [A6 + 0x8]
  1317. 00000D64  2004                     move.l     D0, D4
  1318. 00000D66  7216                     moveq.l    D1, 0x16
  1319. 00000D68  4C01 0800                movem.w    A3, D1
  1320. 00000D6C  41F0 0812                lea.l      A0, [A0 + D0 + 0x12]
  1321. 00000D70  2D48 FFC8                move.l     [A6 - 0x38], A0
  1322. 00000D74  3004                     move.w     D0, D4
  1323. 00000D76  6B00 00B2                bmi        +0xB4 /* 00000E2A */
  1324. 00000D7A  0C40 0003                cmpi.w     D0, 0x3
  1325. 00000D7E  6E00 00AA                bgt        +0xAC /* 00000E2A */
  1326. 00000D82  D040                     add.w      D0, D0
  1327. 00000D84  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  1328. 00000D88  4EFB 0000                jmp        [PC + D0.w]
  1329. 00000D8C  000A 0030                ori.b      A2, 0x30 /* '0' */
  1330. 00000D90  0056 007C                ori.w      [A6], 0x7C /* '|' */
  1331. 00000D94  206E FFC8                movea.l    A0, [A6 - 0x38]
  1332. 00000D98  217C 00F0 0000 000A      move.l     [A0 + 0xA], 0xF00000
  1333. 00000DA0  206E FFC8                movea.l    A0, [A6 - 0x38]
  1334. 00000DA4  217C 00F4 0000 000E      move.l     [A0 + 0xE], 0xF40000
  1335. 00000DAC  206E FFC8                movea.l    A0, [A6 - 0x38]
  1336. 00000DB0  217C 00F8 0000 0012      move.l     [A0 + 0x12], 0xF80000
  1337. 00000DB8  6070                     bra        +0x72 /* 00000E2A */
  1338. 00000DBA  206E FFC8                movea.l    A0, [A6 - 0x38]
  1339. 00000DBE  217C 00F1 0000 000A      move.l     [A0 + 0xA], 0xF10000
  1340. 00000DC6  206E FFC8                movea.l    A0, [A6 - 0x38]
  1341. 00000DCA  217C 00F5 0000 000E      move.l     [A0 + 0xE], 0xF50000
  1342. 00000DD2  206E FFC8                movea.l    A0, [A6 - 0x38]
  1343. 00000DD6  217C 00F8 0040 0012      move.l     [A0 + 0x12], 0xF80040
  1344. 00000DDE  604A                     bra        +0x4C /* 00000E2A */
  1345. 00000DE0  206E FFC8                movea.l    A0, [A6 - 0x38]
  1346. 00000DE4  217C 00F2 0000 000A      move.l     [A0 + 0xA], 0xF20000
  1347. 00000DEC  206E FFC8                movea.l    A0, [A6 - 0x38]
  1348. 00000DF0  217C 00F6 0000 000E      move.l     [A0 + 0xE], 0xF60000
  1349. 00000DF8  206E FFC8                movea.l    A0, [A6 - 0x38]
  1350. 00000DFC  217C 00F9 0000 0012      move.l     [A0 + 0x12], 0xF90000
  1351. 00000E04  6024                     bra        +0x26 /* 00000E2A */
  1352. 00000E06  206E FFC8                movea.l    A0, [A6 - 0x38]
  1353. 00000E0A  217C 00F3 0000 000A      move.l     [A0 + 0xA], 0xF30000
  1354. 00000E12  206E FFC8                movea.l    A0, [A6 - 0x38]
  1355. 00000E16  217C 00F7 0000 000E      move.l     [A0 + 0xE], 0xF70000
  1356. 00000E1E  206E FFC8                movea.l    A0, [A6 - 0x38]
  1357. 00000E22  217C 00F9 0040 0012      move.l     [A0 + 0x12], 0xF90040
  1358. label00000E2A:
  1359. 00000E2A  206E 0008                movea.l    A0, [A6 + 0x8]
  1360. 00000E2E  226E FFC8                movea.l    A1, [A6 - 0x38]
  1361. 00000E32  2A29 0012                move.l     D5, [A1 + 0x12]
  1362. 00000E36  DA90                     add.l      D5, [A0]
  1363. 00000E38  206E 0008                movea.l    A0, [A6 + 0x8]
  1364. 00000E3C  226E FFC8                movea.l    A1, [A6 - 0x38]
  1365. 00000E40  2C29 000A                move.l     D6, [A1 + 0xA]
  1366. 00000E44  DC90                     add.l      D6, [A0]
  1367. 00000E46  206E 0008                movea.l    A0, [A6 + 0x8]
  1368. 00000E4A  226E FFC8                movea.l    A1, [A6 - 0x38]
  1369. 00000E4E  2869 000E                movea.l    A4, [A1 + 0xE]
  1370. 00000E52  D9D0                     add.l      A4, [A0]
  1371. 00000E54  3004                     move.w     D0, D4
  1372. 00000E56  6B00 00CC                bmi        +0xCE /* 00000F24 */
  1373. 00000E5A  0C40 0003                cmpi.w     D0, 0x3
  1374. 00000E5E  6E00 00C4                bgt        +0xC6 /* 00000F24 */
  1375. 00000E62  D040                     add.w      D0, D0
  1376. 00000E64  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  1377. 00000E68  4EFB 0000                jmp        [PC + D0.w]
  1378. 00000E6C  000A 0038                ori.b      A2, 0x38 /* '8' */
  1379. 00000E70  0064 0090                ori.w      -[A4], 0x90
  1380. 00000E74  7002                     moveq.l    D0, 0x02
  1381. 00000E76  2F00                     move.l     -[A7], D0
  1382. 00000E78  2F3C 0000 BFFF           move.l     -[A7], 0xBFFF
  1383. 00000E7E  7206                     moveq.l    D1, 0x06
  1384. 00000E80  2F01                     move.l     -[A7], D1
  1385. 00000E82  2F06                     move.l     -[A7], D6
  1386. 00000E84  4EBA F290                jsr        [PC - 0xD70 /* 00000116 */]
  1387. 00000E88  7002                     moveq.l    D0, 0x02
  1388. 00000E8A  2F00                     move.l     -[A7], D0
  1389. 00000E8C  4878 3B0F                push.l     0x3B0F
  1390. 00000E90  722C                     moveq.l    D1, 0x2C
  1391. 00000E92  2F01                     move.l     -[A7], D1
  1392. 00000E94  2F06                     move.l     -[A7], D6
  1393. 00000E96  4EBA F27E                jsr        [PC - 0xD82 /* 00000116 */]
  1394. 00000E9A  4FEF 0020                lea.l      A7, [A7 + 0x20]
  1395. 00000E9E  6000 0084                bra        +0x86 /* 00000F24 */
  1396. 00000EA2  7002                     moveq.l    D0, 0x02
  1397. 00000EA4  2F00                     move.l     -[A7], D0
  1398. 00000EA6  2F3C 0000 BFFF           move.l     -[A7], 0xBFFF
  1399. 00000EAC  7206                     moveq.l    D1, 0x06
  1400. 00000EAE  2F01                     move.l     -[A7], D1
  1401. 00000EB0  2F06                     move.l     -[A7], D6
  1402. 00000EB2  4EBA F262                jsr        [PC - 0xD9E /* 00000116 */]
  1403. 00000EB6  7002                     moveq.l    D0, 0x02
  1404. 00000EB8  2F00                     move.l     -[A7], D0
  1405. 00000EBA  4878 030F                push.l     0x30F
  1406. 00000EBE  722C                     moveq.l    D1, 0x2C
  1407. 00000EC0  2F01                     move.l     -[A7], D1
  1408. 00000EC2  2F06                     move.l     -[A7], D6
  1409. 00000EC4  4EBA F250                jsr        [PC - 0xDB0 /* 00000116 */]
  1410. 00000EC8  4FEF 0020                lea.l      A7, [A7 + 0x20]
  1411. 00000ECC  6056                     bra        +0x58 /* 00000F24 */
  1412. 00000ECE  7002                     moveq.l    D0, 0x02
  1413. 00000ED0  2F00                     move.l     -[A7], D0
  1414. 00000ED2  2F3C 0000 BFFF           move.l     -[A7], 0xBFFF
  1415. 00000ED8  7206                     moveq.l    D1, 0x06
  1416. 00000EDA  2F01                     move.l     -[A7], D1
  1417. 00000EDC  2F06                     move.l     -[A7], D6
  1418. 00000EDE  4EBA F236                jsr        [PC - 0xDCA /* 00000116 */]
  1419. 00000EE2  7002                     moveq.l    D0, 0x02
  1420. 00000EE4  2F00                     move.l     -[A7], D0
  1421. 00000EE6  4878 060F                push.l     0x60F
  1422. 00000EEA  722C                     moveq.l    D1, 0x2C
  1423. 00000EEC  2F01                     move.l     -[A7], D1
  1424. 00000EEE  2F06                     move.l     -[A7], D6
  1425. 00000EF0  4EBA F224                jsr        [PC - 0xDDC /* 00000116 */]
  1426. 00000EF4  4FEF 0020                lea.l      A7, [A7 + 0x20]
  1427. 00000EF8  602A                     bra        +0x2C /* 00000F24 */
  1428. 00000EFA  7002                     moveq.l    D0, 0x02
  1429. 00000EFC  2F00                     move.l     -[A7], D0
  1430. 00000EFE  2F3C 0000 BBFF           move.l     -[A7], 0xBBFF
  1431. 00000F04  7206                     moveq.l    D1, 0x06
  1432. 00000F06  2F01                     move.l     -[A7], D1
  1433. 00000F08  2F06                     move.l     -[A7], D6
  1434. 00000F0A  4EBA F20A                jsr        [PC - 0xDF6 /* 00000116 */]
  1435. 00000F0E  7002                     moveq.l    D0, 0x02
  1436. 00000F10  2F00                     move.l     -[A7], D0
  1437. 00000F12  720F                     moveq.l    D1, 0x0F
  1438. 00000F14  2F01                     move.l     -[A7], D1
  1439. 00000F16  702C                     moveq.l    D0, 0x2C
  1440. 00000F18  2F00                     move.l     -[A7], D0
  1441. 00000F1A  2F06                     move.l     -[A7], D6
  1442. 00000F1C  4EBA F1F8                jsr        [PC - 0xE08 /* 00000116 */]
  1443. 00000F20  4FEF 0020                lea.l      A7, [A7 + 0x20]
  1444. label00000F24:
  1445. 00000F24  7001                     moveq.l    D0, 0x01
  1446. 00000F26  2F00                     move.l     -[A7], D0
  1447. 00000F28  2F00                     move.l     -[A7], D0
  1448. 00000F2A  722E                     moveq.l    D1, 0x2E
  1449. 00000F2C  2F01                     move.l     -[A7], D1
  1450. 00000F2E  2F06                     move.l     -[A7], D6
  1451. 00000F30  4EBA F1E4                jsr        [PC - 0xE1C /* 00000116 */]
  1452. 00000F34  7003                     moveq.l    D0, 0x03
  1453. 00000F36  2F00                     move.l     -[A7], D0
  1454. 00000F38  7200                     moveq.l    D1, 0x00
  1455. 00000F3A  2F01                     move.l     -[A7], D1
  1456. 00000F3C  7008                     moveq.l    D0, 0x08
  1457. 00000F3E  2F00                     move.l     -[A7], D0
  1458. 00000F40  2F06                     move.l     -[A7], D6
  1459. 00000F42  4EBA F1D2                jsr        [PC - 0xE2E /* 00000116 */]
  1460. 00000F46  206E FFC8                movea.l    A0, [A6 - 0x38]
  1461. 00000F4A  30BC 0010                move.w     [A0], 0x10
  1462. 00000F4E  206E FFC8                movea.l    A0, [A6 - 0x38]
  1463. 00000F52  317C 02AB 0002           move.w     [A0 + 0x2], 0x2AB
  1464. 00000F58  206E FFC8                movea.l    A0, [A6 - 0x38]
  1465. 00000F5C  317C 0008 0004           move.w     [A0 + 0x4], 0x8
  1466. 00000F62  206E FFC8                movea.l    A0, [A6 - 0x38]
  1467. 00000F66  317C 00FD 0006           move.w     [A0 + 0x6], 0xFD
  1468. 00000F6C  206E FFC8                movea.l    A0, [A6 - 0x38]
  1469. 00000F70  4268 0008                clr.w      [A0 + 0x8]
  1470. 00000F74  7001                     moveq.l    D0, 0x01
  1471. 00000F76  2F00                     move.l     -[A7], D0
  1472. 00000F78  7200                     moveq.l    D1, 0x00
  1473. 00000F7A  2F01                     move.l     -[A7], D1
  1474. 00000F7C  700E                     moveq.l    D0, 0x0E
  1475. 00000F7E  2F00                     move.l     -[A7], D0
  1476. 00000F80  2F05                     move.l     -[A7], D5
  1477. 00000F82  4EBA F0DC                jsr        [PC - 0xF24 /* 00000060 */]
  1478. 00000F86  7001                     moveq.l    D0, 0x01
  1479. 00000F88  2F00                     move.l     -[A7], D0
  1480. 00000F8A  4878 00D8                push.l     0xD8
  1481. 00000F8E  720F                     moveq.l    D1, 0x0F
  1482. 00000F90  2F01                     move.l     -[A7], D1
  1483. 00000F92  2F05                     move.l     -[A7], D5
  1484. 00000F94  4EBA F0CA                jsr        [PC - 0xF36 /* 00000060 */]
  1485. 00000F98  7002                     moveq.l    D0, 0x02
  1486. 00000F9A  2F00                     move.l     -[A7], D0
  1487. 00000F9C  7230                     moveq.l    D1, 0x30
  1488. 00000F9E  2F01                     move.l     -[A7], D1
  1489. 00000FA0  7000                     moveq.l    D0, 0x00
  1490. 00000FA2  2F00                     move.l     -[A7], D0
  1491. 00000FA4  2F05                     move.l     -[A7], D5
  1492. 00000FA6  4EBA F0B8                jsr        [PC - 0xF48 /* 00000060 */]
  1493. 00000FAA  7002                     moveq.l    D0, 0x02
  1494. 00000FAC  2F00                     move.l     -[A7], D0
  1495. 00000FAE  4878 01C0                push.l     0x1C0
  1496. 00000FB2  2F00                     move.l     -[A7], D0
  1497. 00000FB4  2F05                     move.l     -[A7], D5
  1498. 00000FB6  4EBA F0A8                jsr        [PC - 0xF58 /* 00000060 */]
  1499. 00000FBA  7002                     moveq.l    D0, 0x02
  1500. 00000FBC  2F00                     move.l     -[A7], D0
  1501. 00000FBE  7214                     moveq.l    D1, 0x14
  1502. 00000FC0  2F01                     move.l     -[A7], D1
  1503. 00000FC2  7004                     moveq.l    D0, 0x04
  1504. 00000FC4  2F00                     move.l     -[A7], D0
  1505. 00000FC6  2F05                     move.l     -[A7], D5
  1506. 00000FC8  4EBA F096                jsr        [PC - 0xF6A /* 00000060 */]
  1507. 00000FCC  7002                     moveq.l    D0, 0x02
  1508. 00000FCE  2F00                     move.l     -[A7], D0
  1509. 00000FD0  4878 0327                push.l     0x327
  1510. 00000FD4  7206                     moveq.l    D1, 0x06
  1511. 00000FD6  2F01                     move.l     -[A7], D1
  1512. 00000FD8  2F05                     move.l     -[A7], D5
  1513. 00000FDA  4EBA F084                jsr        [PC - 0xF7C /* 00000060 */]
  1514. 00000FDE  7001                     moveq.l    D0, 0x01
  1515. 00000FE0  2F00                     move.l     -[A7], D0
  1516. 00000FE2  4878 00FF                push.l     0xFF
  1517. 00000FE6  720D                     moveq.l    D1, 0x0D
  1518. 00000FE8  2F01                     move.l     -[A7], D1
  1519. 00000FEA  2F05                     move.l     -[A7], D5
  1520. 00000FEC  4EBA F072                jsr        [PC - 0xF8E /* 00000060 */]
  1521. 00000FF0  7002                     moveq.l    D0, 0x02
  1522. 00000FF2  2F00                     move.l     -[A7], D0
  1523. 00000FF4  4878 0240                push.l     0x240
  1524. 00000FF8  720B                     moveq.l    D1, 0x0B
  1525. 00000FFA  2F01                     move.l     -[A7], D1
  1526. 00000FFC  2F05                     move.l     -[A7], D5
  1527. 00000FFE  4EBA F060                jsr        [PC - 0xFA0 /* 00000060 */]
  1528. 00001002  426E FFCC                clr.w      [A6 - 0x34]
  1529. 00001006  426E FFCE                clr.w      [A6 - 0x32]
  1530. 0000100A  302E FFCE                move.w     D0, [A6 - 0x32]
  1531. 0000100E  48C0                     ext.l      D0
  1532. 00001010  2D40 FFC2                move.l     [A6 - 0x3E], D0
  1533. 00001014  7002                     moveq.l    D0, 0x02
  1534. 00001016  2F00                     move.l     -[A7], D0
  1535. 00001018  720B                     moveq.l    D1, 0x0B
  1536. 0000101A  2F01                     move.l     -[A7], D1
  1537. 0000101C  2F05                     move.l     -[A7], D5
  1538. 0000101E  4EBA F098                jsr        [PC - 0xF68 /* 000000B8 */]
  1539. 00001022  222E FFC2                move.l     D1, [A6 - 0x3E]
  1540. 00001026  4C01 0000                movem.w    <none>, D1
  1541. 0000102A  2E00                     move.l     D7, D0
  1542. 0000102C  7003                     moveq.l    D0, 0x03
  1543. 0000102E  2F00                     move.l     -[A7], D0
  1544. 00001030  322E FFCC                move.w     D1, [A6 - 0x34]
  1545. 00001034  48C1                     ext.l      D1
  1546. 00001036  D287                     add.l      D1, D7
  1547. 00001038  2F01                     move.l     -[A7], D1
  1548. 0000103A  7208                     moveq.l    D1, 0x08
  1549. 0000103C  2F01                     move.l     -[A7], D1
  1550. 0000103E  2F05                     move.l     -[A7], D5
  1551. 00001040  4EBA F01E                jsr        [PC - 0xFE2 /* 00000060 */]
  1552. 00001044  1D7C 0001 FFC7           move.b     [A6 - 0x39], 0x1
  1553. 0000104A  41EE FFC7                lea.l      A0, [A6 - 0x39]
  1554. 0000104E  1010                     move.b     D0, [A0]
  1555. 00001050  A05D                     syscall    SwapMMUMode
  1556. 00001052  1080                     move.b     [A0], D0
  1557. 00001054  297C 0000 00A0 0018      move.l     [A4 + 0x18], 0xA0
  1558. 0000105C  7000                     moveq.l    D0, 0x00
  1559. 0000105E  2940 0008                move.l     [A4 + 0x8], D0
  1560. 00001062  2880                     move.l     [A4], D0
  1561. 00001064  7200                     moveq.l    D1, 0x00
  1562. 00001066  1213                     move.b     D1, [A3]
  1563. 00001068  4A81                     tst.l      D1
  1564. 0000106A  2941 0004                move.l     [A4 + 0x4], D1
  1565. 0000106E  7200                     moveq.l    D1, 0x00
  1566. 00001070  122B 0001                move.b     D1, [A3 + 0x1]
  1567. 00001074  4A81                     tst.l      D1
  1568. 00001076  2941 0004                move.l     [A4 + 0x4], D1
  1569. 0000107A  7200                     moveq.l    D1, 0x00
  1570. 0000107C  122B 0002                move.b     D1, [A3 + 0x2]
  1571. 00001080  4A81                     tst.l      D1
  1572. 00001082  2941 0004                move.l     [A4 + 0x4], D1
  1573. 00001086  7201                     moveq.l    D1, 0x01
  1574. 00001088  2941 0010                move.l     [A4 + 0x10], D1
  1575. 0000108C  7E01                     moveq.l    D7, 0x01
  1576. 0000108E  760F                     moveq.l    D3, 0x0F
  1577. 00001090  4FEF 00BC                lea.l      A7, [A7 + 0xBC]
  1578. label00001094:
  1579. 00001094  2007                     move.l     D0, D7
  1580. 00001096  48C0                     ext.l      D0
  1581. 00001098  2200                     move.l     D1, D0
  1582. 0000109A  D080                     add.l      D0, D0
  1583. 0000109C  D081                     add.l      D0, D1
  1584. 0000109E  1033 0000                move.b     D0, [A3 + D0.w]
  1585. 000010A2  E408                     lsr        D0.b, 2
  1586. 000010A4  7200                     moveq.l    D1, 0x00
  1587. 000010A6  1200                     move.b     D1, D0
  1588. 000010A8  4A81                     tst.l      D1
  1589. 000010AA  2941 0014                move.l     [A4 + 0x14], D1
  1590. 000010AE  2007                     move.l     D0, D7
  1591. 000010B0  48C0                     ext.l      D0
  1592. 000010B2  2200                     move.l     D1, D0
  1593. 000010B4  D080                     add.l      D0, D0
  1594. 000010B6  D081                     add.l      D0, D1
  1595. 000010B8  1033 0001                move.b     D0, [A3 + D0.w + 0x1]
  1596. 000010BC  E408                     lsr        D0.b, 2
  1597. 000010BE  7200                     moveq.l    D1, 0x00
  1598. 000010C0  1200                     move.b     D1, D0
  1599. 000010C2  4A81                     tst.l      D1
  1600. 000010C4  2941 0014                move.l     [A4 + 0x14], D1
  1601. 000010C8  2007                     move.l     D0, D7
  1602. 000010CA  48C0                     ext.l      D0
  1603. 000010CC  2200                     move.l     D1, D0
  1604. 000010CE  D080                     add.l      D0, D0
  1605. 000010D0  D081                     add.l      D0, D1
  1606. 000010D2  1033 0002                move.b     D0, [A3 + D0.w + 0x2]
  1607. 000010D6  E408                     lsr        D0.b, 2
  1608. 000010D8  7200                     moveq.l    D1, 0x00
  1609. 000010DA  1200                     move.b     D1, D0
  1610. 000010DC  4A81                     tst.l      D1
  1611. 000010DE  2941 0014                move.l     [A4 + 0x14], D1
  1612. 000010E2  2007                     move.l     D0, D7
  1613. 000010E4  5287                     addq.l     D7, 1
  1614. 000010E6  B687                     cmp.l      D3, D7
  1615. 000010E8  6CAA                     bge        -0x54 /* 00001094 */
  1616. 000010EA  41EE FFC7                lea.l      A0, [A6 - 0x39]
  1617. 000010EE  1010                     move.b     D0, [A0]
  1618. 000010F0  A05D                     syscall    SwapMMUMode
  1619. 000010F2  1080                     move.b     [A0], D0
  1620. 000010F4  3004                     move.w     D0, D4
  1621. 000010F6  5244                     addq.w     D4, 1
  1622. 000010F8  0C44 0003                cmpi.w     D4, 0x3
  1623. 000010FC  6F00 FC60                ble        -0x39E /* 00000D5E */
  1624. 00001100  206E 0008                movea.l    A0, [A6 + 0x8]
  1625. 00001104  2C10                     move.l     D6, [A0]
  1626. 00001106  DCBC 00F0 0000           add.l      D6, 0xF00000
  1627. 0000110C  7001                     moveq.l    D0, 0x01
  1628. 0000110E  2F00                     move.l     -[A7], D0
  1629. 00001110  7001                     moveq.l    D0, 0x01
  1630. 00001112  2F00                     move.l     -[A7], D0
  1631. 00001114  722C                     moveq.l    D1, 0x2C
  1632. 00001116  2F01                     move.l     -[A7], D1
  1633. 00001118  2F06                     move.l     -[A7], D6
  1634. 0000111A  4EBA F06E                jsr        [PC - 0xF92 /* 0000018A */]
  1635. 0000111E  7201                     moveq.l    D1, 0x01
  1636. 00001120  8280                     or.l       D1, D0
  1637. 00001122  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1638. 00001126  2F01                     move.l     -[A7], D1
  1639. 00001128  702C                     moveq.l    D0, 0x2C
  1640. 0000112A  2F00                     move.l     -[A7], D0
  1641. 0000112C  2F06                     move.l     -[A7], D6
  1642. 0000112E  4EBA EFE6                jsr        [PC - 0x101A /* 00000116 */]
  1643. 00001132  4246                     clr.w      D6
  1644. 00001134  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1645. label00001138:
  1646. 00001138  48C6                     ext.l      D6
  1647. 0000113A  206E 0008                movea.l    A0, [A6 + 0x8]
  1648. 0000113E  2006                     move.l     D0, D6
  1649. 00001140  4C3C 0800 0000           movem.w    A3, 0x0
  1650. 00001146  0122                     btst       -[A2], D0
  1651. 00001148  47F0 086A                lea.l      A3, [A0 + D0 + 0x6A]
  1652. 0000114C  4A46                     tst.w      D6
  1653. 0000114E  6708                     beq        +0xA /* 00001158 */
  1654. 00001150  203C 0000 008E           move.l     D0, 0x8E
  1655. 00001156  6006                     bra        +0x8 /* 0000115E */
  1656. label00001158:
  1657. 00001158  203C 0000 008A           move.l     D0, 0x8A
  1658. label0000115E:
  1659. 0000115E  7200                     moveq.l    D1, 0x00
  1660. 00001160  1200                     move.b     D1, D0
  1661. 00001162  4A81                     tst.l      D1
  1662. 00001164  3681                     move.w     [A3], D1
  1663. 00001166  4A46                     tst.w      D6
  1664. 00001168  6708                     beq        +0xA /* 00001172 */
  1665. 0000116A  203C 0000 00E2           move.l     D0, 0xE2
  1666. 00001170  6006                     bra        +0x8 /* 00001178 */
  1667. label00001172:
  1668. 00001172  203C 0000 00E0           move.l     D0, 0xE0
  1669. label00001178:
  1670. 00001178  7200                     moveq.l    D1, 0x00
  1671. 0000117A  1200                     move.b     D1, D0
  1672. 0000117C  4A81                     tst.l      D1
  1673. 0000117E  3741 0002                move.w     [A3 + 0x2], D1
  1674. 00001182  426B 0004                clr.w      [A3 + 0x4]
  1675. 00001186  426B 0006                clr.w      [A3 + 0x6]
  1676. 0000118A  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1677. 0000118E  7000                     moveq.l    D0, 0x00
  1678. 00001190  2F00                     move.l     -[A7], D0
  1679. 00001192  2F00                     move.l     -[A7], D0
  1680. 00001194  3213                     move.w     D1, [A3]
  1681. 00001196  48C1                     ext.l      D1
  1682. 00001198  2F01                     move.l     -[A7], D1
  1683. 0000119A  4EBA 026E                jsr        [PC + 0x26E /* 0000140A */]
  1684. 0000119E  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1685. 000011A2  7000                     moveq.l    D0, 0x00
  1686. 000011A4  2F00                     move.l     -[A7], D0
  1687. 000011A6  2F00                     move.l     -[A7], D0
  1688. 000011A8  3213                     move.w     D1, [A3]
  1689. 000011AA  48C1                     ext.l      D1
  1690. 000011AC  2F01                     move.l     -[A7], D1
  1691. 000011AE  4EBA 025A                jsr        [PC + 0x25A /* 0000140A */]
  1692. 000011B2  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1693. 000011B6  3013                     move.w     D0, [A3]
  1694. 000011B8  48C0                     ext.l      D0
  1695. 000011BA  2F00                     move.l     -[A7], D0
  1696. 000011BC  4EBA 002C                jsr        [PC + 0x2C /* 000011EA */]
  1697. 000011C0  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1698. 000011C4  302B 0002                move.w     D0, [A3 + 0x2]
  1699. 000011C8  48C0                     ext.l      D0
  1700. 000011CA  2F00                     move.l     -[A7], D0
  1701. 000011CC  4EBA 01D4                jsr        [PC + 0x1D4 /* 000013A2 */]
  1702. 000011D0  4FEF 0030                lea.l      A7, [A7 + 0x30]
  1703. 000011D4  3006                     move.w     D0, D6
  1704. 000011D6  5246                     addq.w     D6, 1
  1705. 000011D8  0C46 0001                cmpi.w     D6, 0x1
  1706. 000011DC  6F00 FF5A                ble        -0xA4 /* 00001138 */
  1707. 000011E0  4CEE 18F8 FFA6           movem.l    D3,D4,D5,D6,D7,A3,A4, [A6 - 0x5A]
  1708. 000011E6  4E5E                     unlink     A6
  1709. 000011E8  4E75                     rts
  1710. fn000011EA:
  1711. 000011EA  4E56 0000                link       A6, 0
  1712. 000011EE  48E7 0108                movem.l    -[A7], D7,A4
  1713. 000011F2  286E 000C                movea.l    A4, [A6 + 0xC]
  1714. 000011F6  3E2E 000A                move.w     D7, [A6 + 0xA]
  1715. 000011FA  2F0C                     move.l     -[A7], A4
  1716. 000011FC  7050                     moveq.l    D0, 0x50
  1717. 000011FE  2F00                     move.l     -[A7], D0
  1718. 00001200  7200                     moveq.l    D1, 0x00
  1719. 00001202  2F01                     move.l     -[A7], D1
  1720. 00001204  48C7                     ext.l      D7
  1721. 00001206  2F07                     move.l     -[A7], D7
  1722. 00001208  4EBA 0200                jsr        [PC + 0x200 /* 0000140A */]
  1723. 0000120C  2F0C                     move.l     -[A7], A4
  1724. 0000120E  7030                     moveq.l    D0, 0x30
  1725. 00001210  2F00                     move.l     -[A7], D0
  1726. 00001212  7201                     moveq.l    D1, 0x01
  1727. 00001214  2F01                     move.l     -[A7], D1
  1728. 00001216  48C7                     ext.l      D7
  1729. 00001218  2F07                     move.l     -[A7], D7
  1730. 0000121A  4EBA 01EE                jsr        [PC + 0x1EE /* 0000140A */]
  1731. 0000121E  2F0C                     move.l     -[A7], A4
  1732. 00001220  7000                     moveq.l    D0, 0x00
  1733. 00001222  2F00                     move.l     -[A7], D0
  1734. 00001224  7202                     moveq.l    D1, 0x02
  1735. 00001226  2F01                     move.l     -[A7], D1
  1736. 00001228  48C7                     ext.l      D7
  1737. 0000122A  2F07                     move.l     -[A7], D7
  1738. 0000122C  4EBA 01DC                jsr        [PC + 0x1DC /* 0000140A */]
  1739. 00001230  2F0C                     move.l     -[A7], A4
  1740. 00001232  4878 00E8                push.l     0xE8
  1741. 00001236  7003                     moveq.l    D0, 0x03
  1742. 00001238  2F00                     move.l     -[A7], D0
  1743. 0000123A  48C7                     ext.l      D7
  1744. 0000123C  2F07                     move.l     -[A7], D7
  1745. 0000123E  4EBA 01CA                jsr        [PC + 0x1CA /* 0000140A */]
  1746. 00001242  2F0C                     move.l     -[A7], A4
  1747. 00001244  4878 00B6                push.l     0xB6
  1748. 00001248  7004                     moveq.l    D0, 0x04
  1749. 0000124A  2F00                     move.l     -[A7], D0
  1750. 0000124C  48C7                     ext.l      D7
  1751. 0000124E  2F07                     move.l     -[A7], D7
  1752. 00001250  4EBA 01B8                jsr        [PC + 0x1B8 /* 0000140A */]
  1753. 00001254  2F0C                     move.l     -[A7], A4
  1754. 00001256  7034                     moveq.l    D0, 0x34
  1755. 00001258  2F00                     move.l     -[A7], D0
  1756. 0000125A  7205                     moveq.l    D1, 0x05
  1757. 0000125C  2F01                     move.l     -[A7], D1
  1758. 0000125E  48C7                     ext.l      D7
  1759. 00001260  2F07                     move.l     -[A7], D7
  1760. 00001262  4EBA 01A6                jsr        [PC + 0x1A6 /* 0000140A */]
  1761. 00001266  2F0C                     move.l     -[A7], A4
  1762. 00001268  7013                     moveq.l    D0, 0x13
  1763. 0000126A  2F00                     move.l     -[A7], D0
  1764. 0000126C  7206                     moveq.l    D1, 0x06
  1765. 0000126E  2F01                     move.l     -[A7], D1
  1766. 00001270  48C7                     ext.l      D7
  1767. 00001272  2F07                     move.l     -[A7], D7
  1768. 00001274  4EBA 0194                jsr        [PC + 0x194 /* 0000140A */]
  1769. 00001278  2F0C                     move.l     -[A7], A4
  1770. 0000127A  7000                     moveq.l    D0, 0x00
  1771. 0000127C  2F00                     move.l     -[A7], D0
  1772. 0000127E  7207                     moveq.l    D1, 0x07
  1773. 00001280  2F01                     move.l     -[A7], D1
  1774. 00001282  48C7                     ext.l      D7
  1775. 00001284  2F07                     move.l     -[A7], D7
  1776. 00001286  4EBA 0182                jsr        [PC + 0x182 /* 0000140A */]
  1777. 0000128A  2F0C                     move.l     -[A7], A4
  1778. 0000128C  4878 00FE                push.l     0xFE
  1779. 00001290  7008                     moveq.l    D0, 0x08
  1780. 00001292  2F00                     move.l     -[A7], D0
  1781. 00001294  48C7                     ext.l      D7
  1782. 00001296  2F07                     move.l     -[A7], D7
  1783. 00001298  4EBA 0170                jsr        [PC + 0x170 /* 0000140A */]
  1784. 0000129C  2F0C                     move.l     -[A7], A4
  1785. 0000129E  4878 00F0                push.l     0xF0
  1786. 000012A2  7009                     moveq.l    D0, 0x09
  1787. 000012A4  2F00                     move.l     -[A7], D0
  1788. 000012A6  48C7                     ext.l      D7
  1789. 000012A8  2F07                     move.l     -[A7], D7
  1790. 000012AA  4EBA 015E                jsr        [PC + 0x15E /* 0000140A */]
  1791. 000012AE  2F0C                     move.l     -[A7], A4
  1792. 000012B0  4878 00FE                push.l     0xFE
  1793. 000012B4  700A                     moveq.l    D0, 0x0A
  1794. 000012B6  2F00                     move.l     -[A7], D0
  1795. 000012B8  48C7                     ext.l      D7
  1796. 000012BA  2F07                     move.l     -[A7], D7
  1797. 000012BC  4EBA 014C                jsr        [PC + 0x14C /* 0000140A */]
  1798. 000012C0  2F0C                     move.l     -[A7], A4
  1799. 000012C2  4878 00E0                push.l     0xE0
  1800. 000012C6  700B                     moveq.l    D0, 0x0B
  1801. 000012C8  2F00                     move.l     -[A7], D0
  1802. 000012CA  48C7                     ext.l      D7
  1803. 000012CC  2F07                     move.l     -[A7], D7
  1804. 000012CE  4EBA 013A                jsr        [PC + 0x13A /* 0000140A */]
  1805. 000012D2  2F0C                     move.l     -[A7], A4
  1806. 000012D4  7020                     moveq.l    D0, 0x20
  1807. 000012D6  2F00                     move.l     -[A7], D0
  1808. 000012D8  720C                     moveq.l    D1, 0x0C
  1809. 000012DA  2F01                     move.l     -[A7], D1
  1810. 000012DC  48C7                     ext.l      D7
  1811. 000012DE  2F07                     move.l     -[A7], D7
  1812. 000012E0  4EBA 0128                jsr        [PC + 0x128 /* 0000140A */]
  1813. 000012E4  2F0C                     move.l     -[A7], A4
  1814. 000012E6  7000                     moveq.l    D0, 0x00
  1815. 000012E8  2F00                     move.l     -[A7], D0
  1816. 000012EA  720D                     moveq.l    D1, 0x0D
  1817. 000012EC  2F01                     move.l     -[A7], D1
  1818. 000012EE  48C7                     ext.l      D7
  1819. 000012F0  2F07                     move.l     -[A7], D7
  1820. 000012F2  4EBA 0116                jsr        [PC + 0x116 /* 0000140A */]
  1821. 000012F6  2F0C                     move.l     -[A7], A4
  1822. 000012F8  7030                     moveq.l    D0, 0x30
  1823. 000012FA  2F00                     move.l     -[A7], D0
  1824. 000012FC  720E                     moveq.l    D1, 0x0E
  1825. 000012FE  2F01                     move.l     -[A7], D1
  1826. 00001300  48C7                     ext.l      D7
  1827. 00001302  2F07                     move.l     -[A7], D7
  1828. 00001304  4EBA 0104                jsr        [PC + 0x104 /* 0000140A */]
  1829. 00001308  2F0C                     move.l     -[A7], A4
  1830. 0000130A  707F                     moveq.l    D0, 0x7F
  1831. 0000130C  2F00                     move.l     -[A7], D0
  1832. 0000130E  720F                     moveq.l    D1, 0x0F
  1833. 00001310  2F01                     move.l     -[A7], D1
  1834. 00001312  48C7                     ext.l      D7
  1835. 00001314  2F07                     move.l     -[A7], D7
  1836. 00001316  4EBA 00F2                jsr        [PC + 0xF2 /* 0000140A */]
  1837. 0000131A  2F0C                     move.l     -[A7], A4
  1838. 0000131C  7003                     moveq.l    D0, 0x03
  1839. 0000131E  2F00                     move.l     -[A7], D0
  1840. 00001320  7210                     moveq.l    D1, 0x10
  1841. 00001322  2F01                     move.l     -[A7], D1
  1842. 00001324  48C7                     ext.l      D7
  1843. 00001326  2F07                     move.l     -[A7], D7
  1844. 00001328  4EBA 00E0                jsr        [PC + 0xE0 /* 0000140A */]
  1845. 0000132C  2F0C                     move.l     -[A7], A4
  1846. 0000132E  4878 0080                push.l     0x80
  1847. 00001332  7011                     moveq.l    D0, 0x11
  1848. 00001334  2F00                     move.l     -[A7], D0
  1849. 00001336  48C7                     ext.l      D7
  1850. 00001338  2F07                     move.l     -[A7], D7
  1851. 0000133A  4EBA 00CE                jsr        [PC + 0xCE /* 0000140A */]
  1852. 0000133E  2F0C                     move.l     -[A7], A4
  1853. 00001340  703A                     moveq.l    D0, 0x3A
  1854. 00001342  2F00                     move.l     -[A7], D0
  1855. 00001344  7214                     moveq.l    D1, 0x14
  1856. 00001346  2F01                     move.l     -[A7], D1
  1857. 00001348  48C7                     ext.l      D7
  1858. 0000134A  2F07                     move.l     -[A7], D7
  1859. 0000134C  4EBA 00BC                jsr        [PC + 0xBC /* 0000140A */]
  1860. 00001350  2F0C                     move.l     -[A7], A4
  1861. 00001352  7006                     moveq.l    D0, 0x06
  1862. 00001354  2F00                     move.l     -[A7], D0
  1863. 00001356  7215                     moveq.l    D1, 0x15
  1864. 00001358  2F01                     move.l     -[A7], D1
  1865. 0000135A  48C7                     ext.l      D7
  1866. 0000135C  2F07                     move.l     -[A7], D7
  1867. 0000135E  4EBA 00AA                jsr        [PC + 0xAA /* 0000140A */]
  1868. 00001362  2F0C                     move.l     -[A7], A4
  1869. 00001364  4878 00FA                push.l     0xFA
  1870. 00001368  7016                     moveq.l    D0, 0x16
  1871. 0000136A  2F00                     move.l     -[A7], D0
  1872. 0000136C  48C7                     ext.l      D7
  1873. 0000136E  2F07                     move.l     -[A7], D7
  1874. 00001370  4EBA 0098                jsr        [PC + 0x98 /* 0000140A */]
  1875. 00001374  2F0C                     move.l     -[A7], A4
  1876. 00001376  4878 00D6                push.l     0xD6
  1877. 0000137A  7017                     moveq.l    D0, 0x17
  1878. 0000137C  2F00                     move.l     -[A7], D0
  1879. 0000137E  48C7                     ext.l      D7
  1880. 00001380  2F07                     move.l     -[A7], D7
  1881. 00001382  4EBA 0086                jsr        [PC + 0x86 /* 0000140A */]
  1882. 00001386  2F0C                     move.l     -[A7], A4
  1883. 00001388  7025                     moveq.l    D0, 0x25
  1884. 0000138A  2F00                     move.l     -[A7], D0
  1885. 0000138C  7218                     moveq.l    D1, 0x18
  1886. 0000138E  2F01                     move.l     -[A7], D1
  1887. 00001390  48C7                     ext.l      D7
  1888. 00001392  2F07                     move.l     -[A7], D7
  1889. 00001394  4EBA 0074                jsr        [PC + 0x74 /* 0000140A */]
  1890. 00001398  4CEE 1080 FFF8           movem.l    D7,A4, [A6 - 0x8]
  1891. 0000139E  4E5E                     unlink     A6
  1892. 000013A0  4E75                     rts
  1893. fn000013A2:
  1894. 000013A2  4E56 FF00                link       A6, -0x0100
  1895. 000013A6  48E7 1318                movem.l    -[A7], D3,D6,D7,A3,A4
  1896. 000013AA  266E 000C                movea.l    A3, [A6 + 0xC]
  1897. 000013AE  3C2E 000A                move.w     D6, [A6 + 0xA]
  1898. 000013B2  49EE FF00                lea.l      A4, [A6 - 0x100]
  1899. 000013B6  4247                     clr.w      D7
  1900. 000013B8  363C 0100                move.w     D3, 0x100
  1901. label000013BC:
  1902. 000013BC  1987 7000                move.b     [A4 + D7.w], D7
  1903. 000013C0  3007                     move.w     D0, D7
  1904. 000013C2  5247                     addq.w     D7, 1
  1905. 000013C4  B647                     cmp.w      D3, D7
  1906. 000013C6  6EF4                     bgt        -0xA /* 000013BC */
  1907. 000013C8  2F0B                     move.l     -[A7], A3
  1908. 000013CA  703A                     moveq.l    D0, 0x3A
  1909. 000013CC  2F00                     move.l     -[A7], D0
  1910. 000013CE  7200                     moveq.l    D1, 0x00
  1911. 000013D0  2F01                     move.l     -[A7], D1
  1912. 000013D2  48C6                     ext.l      D6
  1913. 000013D4  2F06                     move.l     -[A7], D6
  1914. 000013D6  4EBA 0032                jsr        [PC + 0x32 /* 0000140A */]
  1915. 000013DA  2F0B                     move.l     -[A7], A3
  1916. 000013DC  2F0C                     move.l     -[A7], A4
  1917. 000013DE  7001                     moveq.l    D0, 0x01
  1918. 000013E0  2F00                     move.l     -[A7], D0
  1919. 000013E2  48C6                     ext.l      D6
  1920. 000013E4  2F06                     move.l     -[A7], D6
  1921. 000013E6  4EBA 0536                jsr        [PC + 0x536 /* 0000191E */]
  1922. 000013EA  2F0B                     move.l     -[A7], A3
  1923. 000013EC  707A                     moveq.l    D0, 0x7A
  1924. 000013EE  2F00                     move.l     -[A7], D0
  1925. 000013F0  7200                     moveq.l    D1, 0x00
  1926. 000013F2  2F01                     move.l     -[A7], D1
  1927. 000013F4  48C6                     ext.l      D6
  1928. 000013F6  2F06                     move.l     -[A7], D6
  1929. 000013F8  4EBA 0010                jsr        [PC + 0x10 /* 0000140A */]
  1930. 000013FC  4FEF 0030                lea.l      A7, [A7 + 0x30]
  1931. 00001400  4CEE 18C8 FEEC           movem.l    D3,D6,D7,A3,A4, [A6 - 0x114]
  1932. 00001406  4E5E                     unlink     A6
  1933. 00001408  4E75                     rts
  1934. fn0000140A:
  1935. 0000140A  4E56 FFF6                link       A6, -0x000A
  1936. 0000140E  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  1937. 00001412  206E 0014                movea.l    A0, [A6 + 0x14]
  1938. 00001416  2E10                     move.l     D7, [A0]
  1939. 00001418  2647                     movea.l    A3, D7
  1940. 0000141A  D7FC 00F2 000C           add.l      A3, 0xF2000C
  1941. 00001420  2847                     movea.l    A4, D7
  1942. 00001422  D9FC 00F2 0058           add.l      A4, 0xF20058
  1943. 00001428  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  1944. 0000142E  41EE FFFF                lea.l      A0, [A6 - 0x1]
  1945. 00001432  1010                     move.b     D0, [A0]
  1946. 00001434  A05D                     syscall    SwapMMUMode
  1947. 00001436  1080                     move.b     [A0], D0
  1948. 00001438  3013                     move.w     D0, [A3]
  1949. 0000143A  4640                     not.w      D0
  1950. 0000143C  3D40 FFFA                move.w     [A6 - 0x6], D0
  1951. 00001440  3014                     move.w     D0, [A4]
  1952. 00001442  4640                     not.w      D0
  1953. 00001444  3D40 FFFC                move.w     [A6 - 0x4], D0
  1954. 00001448  702F                     moveq.l    D0, 0x2F
  1955. 0000144A  C1F8 0D00                muls.w     D0, [0x00000D00 /* TimeDBRA */]
  1956. 0000144E  4C7C 0800 0000 2710      movem.l    A3, 0x2710
  1957. 00001456  3800                     move.w     D4, D0
  1958. 00001458  7028                     moveq.l    D0, 0x28
  1959. 0000145A  C1F8 0D00                muls.w     D0, [0x00000D00 /* TimeDBRA */]
  1960. 0000145E  4C7C 0800 0000 2710      movem.l    A3, 0x2710
  1961. 00001466  3D40 FFF6                move.w     [A6 - 0xA], D0
  1962. 0000146A  3C3C 0BB8                move.w     D6, 0xBB8
  1963. label0000146E:
  1964. 0000146E  486E FFFA                pea.l      [A6 - 0x6]
  1965. 00001472  2F07                     move.l     -[A7], D7
  1966. 00001474  4EBA 0FEC                jsr        [PC + 0xFEC /* 00002462 */]
  1967. 00001478  4A40                     tst.w      D0
  1968. 0000147A  504F                     addq.w     A7, 8
  1969. 0000147C  6710                     beq        +0x12 /* 0000148E */
  1970. 0000147E  486E FFFA                pea.l      [A6 - 0x6]
  1971. 00001482  2F07                     move.l     -[A7], D7
  1972. 00001484  4EBA 0F92                jsr        [PC + 0xF92 /* 00002418 */]
  1973. 00001488  4A40                     tst.w      D0
  1974. 0000148A  504F                     addq.w     A7, 8
  1975. 0000148C  6660                     bne        +0x62 /* 000014EE */
  1976. label0000148E:
  1977. 0000148E  2F07                     move.l     -[A7], D7
  1978. 00001490  486E FFFA                pea.l      [A6 - 0x6]
  1979. 00001494  486E FFFC                pea.l      [A6 - 0x4]
  1980. 00001498  7000                     moveq.l    D0, 0x00
  1981. 0000149A  2F00                     move.l     -[A7], D0
  1982. 0000149C  4EBA 1096                jsr        [PC + 0x1096 /* 00002534 */]
  1983. 000014A0  2F07                     move.l     -[A7], D7
  1984. 000014A2  486E FFFA                pea.l      [A6 - 0x6]
  1985. 000014A6  486E FFFC                pea.l      [A6 - 0x4]
  1986. 000014AA  7000                     moveq.l    D0, 0x00
  1987. 000014AC  2F00                     move.l     -[A7], D0
  1988. 000014AE  4EBA 0FFC                jsr        [PC + 0xFFC /* 000024AC */]
  1989. 000014B2  2F07                     move.l     -[A7], D7
  1990. 000014B4  486E FFFA                pea.l      [A6 - 0x6]
  1991. 000014B8  486E FFFC                pea.l      [A6 - 0x4]
  1992. 000014BC  7001                     moveq.l    D0, 0x01
  1993. 000014BE  2F00                     move.l     -[A7], D0
  1994. 000014C0  4EBA 1072                jsr        [PC + 0x1072 /* 00002534 */]
  1995. 000014C4  48C4                     ext.l      D4
  1996. 000014C6  2F04                     move.l     -[A7], D4
  1997. 000014C8  4EBA 0F2C                jsr        [PC + 0xF2C /* 000023F6 */]
  1998. 000014CC  2F07                     move.l     -[A7], D7
  1999. 000014CE  486E FFFA                pea.l      [A6 - 0x6]
  2000. 000014D2  486E FFFC                pea.l      [A6 - 0x4]
  2001. 000014D6  7001                     moveq.l    D0, 0x01
  2002. 000014D8  2F00                     move.l     -[A7], D0
  2003. 000014DA  4EBA 0FD0                jsr        [PC + 0xFD0 /* 000024AC */]
  2004. 000014DE  4FEF 0044                lea.l      A7, [A7 + 0x44]
  2005. 000014E2  6002                     bra        +0x4 /* 000014E6 */
  2006. 000014E4  6008                     bra        +0xA /* 000014EE */
  2007. label000014E6:
  2008. 000014E6  3006                     move.w     D0, D6
  2009. 000014E8  5346                     subq.w     D6, 1
  2010. 000014EA  4A46                     tst.w      D6
  2011. 000014EC  6E80                     bgt        -0x7E /* 0000146E */
  2012. label000014EE:
  2013. 000014EE  4A46                     tst.w      D6
  2014. 000014F0  6612                     bne        +0x14 /* 00001504 */
  2015. 000014F2  41EE FFFF                lea.l      A0, [A6 - 0x1]
  2016. 000014F6  1010                     move.b     D0, [A0]
  2017. 000014F8  A05D                     syscall    SwapMMUMode
  2018. 000014FA  1080                     move.b     [A0], D0
  2019. 000014FC  303C E08E                move.w     D0, 0xE08E
  2020. 00001500  6000 0412                bra        +0x414 /* 00001914 */
  2021. label00001504:
  2022. 00001504  48C4                     ext.l      D4
  2023. 00001506  2F04                     move.l     -[A7], D4
  2024. 00001508  4EBA 0EEC                jsr        [PC + 0xEEC /* 000023F6 */]
  2025. 0000150C  2F07                     move.l     -[A7], D7
  2026. 0000150E  486E FFFA                pea.l      [A6 - 0x6]
  2027. 00001512  486E FFFC                pea.l      [A6 - 0x4]
  2028. 00001516  7000                     moveq.l    D0, 0x00
  2029. 00001518  2F00                     move.l     -[A7], D0
  2030. 0000151A  4EBA 0F90                jsr        [PC + 0xF90 /* 000024AC */]
  2031. 0000151E  48C4                     ext.l      D4
  2032. 00001520  2F04                     move.l     -[A7], D4
  2033. 00001522  4EBA 0ED2                jsr        [PC + 0xED2 /* 000023F6 */]
  2034. 00001526  303C 00FE                move.w     D0, 0xFE
  2035. 0000152A  C06E 000A                and.w      D0, [A6 + 0xA]
  2036. 0000152E  3D40 FFF8                move.w     [A6 - 0x8], D0
  2037. 00001532  7C07                     moveq.l    D6, 0x07
  2038. 00001534  4FEF 0018                lea.l      A7, [A7 + 0x18]
  2039. label00001538:
  2040. 00001538  2F07                     move.l     -[A7], D7
  2041. 0000153A  486E FFFA                pea.l      [A6 - 0x6]
  2042. 0000153E  486E FFFC                pea.l      [A6 - 0x4]
  2043. 00001542  7000                     moveq.l    D0, 0x00
  2044. 00001544  2F00                     move.l     -[A7], D0
  2045. 00001546  4EBA 0FEC                jsr        [PC + 0xFEC /* 00002534 */]
  2046. 0000154A  2F07                     move.l     -[A7], D7
  2047. 0000154C  486E FFFA                pea.l      [A6 - 0x6]
  2048. 00001550  486E FFFC                pea.l      [A6 - 0x4]
  2049. 00001554  302E FFF8                move.w     D0, [A6 - 0x8]
  2050. 00001558  EC60                     asr        D0.w, D6
  2051. 0000155A  7201                     moveq.l    D1, 0x01
  2052. 0000155C  C240                     and.w      D1, D0
  2053. 0000155E  7000                     moveq.l    D0, 0x00
  2054. 00001560  3001                     move.w     D0, D1
  2055. 00001562  4A80                     tst.l      D0
  2056. 00001564  2F00                     move.l     -[A7], D0
  2057. 00001566  4EBA 0F44                jsr        [PC + 0xF44 /* 000024AC */]
  2058. 0000156A  48C4                     ext.l      D4
  2059. 0000156C  2F04                     move.l     -[A7], D4
  2060. 0000156E  4EBA 0E86                jsr        [PC + 0xE86 /* 000023F6 */]
  2061. 00001572  2F07                     move.l     -[A7], D7
  2062. 00001574  486E FFFA                pea.l      [A6 - 0x6]
  2063. 00001578  486E FFFC                pea.l      [A6 - 0x4]
  2064. 0000157C  7001                     moveq.l    D0, 0x01
  2065. 0000157E  2F00                     move.l     -[A7], D0
  2066. 00001580  4EBA 0FB2                jsr        [PC + 0xFB2 /* 00002534 */]
  2067. 00001584  302E FFF6                move.w     D0, [A6 - 0xA]
  2068. 00001588  48C0                     ext.l      D0
  2069. 0000158A  2F00                     move.l     -[A7], D0
  2070. 0000158C  4EBA 0E68                jsr        [PC + 0xE68 /* 000023F6 */]
  2071. 00001590  4FEF 0038                lea.l      A7, [A7 + 0x38]
  2072. 00001594  51CE FFA2                dbf        D6, -0x60 /* 00001538 */
  2073. 00001598  2F07                     move.l     -[A7], D7
  2074. 0000159A  486E FFFA                pea.l      [A6 - 0x6]
  2075. 0000159E  486E FFFC                pea.l      [A6 - 0x4]
  2076. 000015A2  7000                     moveq.l    D0, 0x00
  2077. 000015A4  2F00                     move.l     -[A7], D0
  2078. 000015A6  4EBA 0F8C                jsr        [PC + 0xF8C /* 00002534 */]
  2079. 000015AA  2F07                     move.l     -[A7], D7
  2080. 000015AC  486E FFFA                pea.l      [A6 - 0x6]
  2081. 000015B0  486E FFFC                pea.l      [A6 - 0x4]
  2082. 000015B4  7001                     moveq.l    D0, 0x01
  2083. 000015B6  2F00                     move.l     -[A7], D0
  2084. 000015B8  4EBA 0EF2                jsr        [PC + 0xEF2 /* 000024AC */]
  2085. 000015BC  3A3C 0BB8                move.w     D5, 0xBB8
  2086. 000015C0  4FEF 0020                lea.l      A7, [A7 + 0x20]
  2087. label000015C4:
  2088. 000015C4  48C4                     ext.l      D4
  2089. 000015C6  2F04                     move.l     -[A7], D4
  2090. 000015C8  4EBA 0E2C                jsr        [PC + 0xE2C /* 000023F6 */]
  2091. 000015CC  486E FFFA                pea.l      [A6 - 0x6]
  2092. 000015D0  2F07                     move.l     -[A7], D7
  2093. 000015D2  4EBA 0E44                jsr        [PC + 0xE44 /* 00002418 */]
  2094. 000015D6  7200                     moveq.l    D1, 0x00
  2095. 000015D8  3200                     move.w     D1, D0
  2096. 000015DA  4A81                     tst.l      D1
  2097. 000015DC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2098. 000015E0  6708                     beq        +0xA /* 000015EA */
  2099. 000015E2  3005                     move.w     D0, D5
  2100. 000015E4  5345                     subq.w     D5, 1
  2101. 000015E6  4A45                     tst.w      D5
  2102. 000015E8  6EDA                     bgt        -0x24 /* 000015C4 */
  2103. label000015EA:
  2104. 000015EA  4A45                     tst.w      D5
  2105. 000015EC  6628                     bne        +0x2A /* 00001616 */
  2106. 000015EE  2F07                     move.l     -[A7], D7
  2107. 000015F0  486E FFFA                pea.l      [A6 - 0x6]
  2108. 000015F4  486E FFFC                pea.l      [A6 - 0x4]
  2109. 000015F8  7001                     moveq.l    D0, 0x01
  2110. 000015FA  2F00                     move.l     -[A7], D0
  2111. 000015FC  4EBA 0F36                jsr        [PC + 0xF36 /* 00002534 */]
  2112. 00001600  41EE FFFF                lea.l      A0, [A6 - 0x1]
  2113. 00001604  1010                     move.b     D0, [A0]
  2114. 00001606  A05D                     syscall    SwapMMUMode
  2115. 00001608  1080                     move.b     [A0], D0
  2116. 0000160A  303C E08E                move.w     D0, 0xE08E
  2117. 0000160E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2118. 00001612  6000 0300                bra        +0x302 /* 00001914 */
  2119. label00001616:
  2120. 00001616  2F07                     move.l     -[A7], D7
  2121. 00001618  486E FFFA                pea.l      [A6 - 0x6]
  2122. 0000161C  486E FFFC                pea.l      [A6 - 0x4]
  2123. 00001620  7001                     moveq.l    D0, 0x01
  2124. 00001622  2F00                     move.l     -[A7], D0
  2125. 00001624  4EBA 0F0E                jsr        [PC + 0xF0E /* 00002534 */]
  2126. 00001628  302E FFF6                move.w     D0, [A6 - 0xA]
  2127. 0000162C  48C0                     ext.l      D0
  2128. 0000162E  2F00                     move.l     -[A7], D0
  2129. 00001630  4EBA 0DC4                jsr        [PC + 0xDC4 /* 000023F6 */]
  2130. 00001634  3D6E 000E FFF8           move.w     [A6 - 0x8], [A6 + 0xE]
  2131. 0000163A  7C07                     moveq.l    D6, 0x07
  2132. 0000163C  4FEF 0014                lea.l      A7, [A7 + 0x14]
  2133. label00001640:
  2134. 00001640  2F07                     move.l     -[A7], D7
  2135. 00001642  486E FFFA                pea.l      [A6 - 0x6]
  2136. 00001646  486E FFFC                pea.l      [A6 - 0x4]
  2137. 0000164A  7000                     moveq.l    D0, 0x00
  2138. 0000164C  2F00                     move.l     -[A7], D0
  2139. 0000164E  4EBA 0EE4                jsr        [PC + 0xEE4 /* 00002534 */]
  2140. 00001652  2F07                     move.l     -[A7], D7
  2141. 00001654  486E FFFA                pea.l      [A6 - 0x6]
  2142. 00001658  486E FFFC                pea.l      [A6 - 0x4]
  2143. 0000165C  302E FFF8                move.w     D0, [A6 - 0x8]
  2144. 00001660  EC60                     asr        D0.w, D6
  2145. 00001662  7201                     moveq.l    D1, 0x01
  2146. 00001664  C240                     and.w      D1, D0
  2147. 00001666  7000                     moveq.l    D0, 0x00
  2148. 00001668  3001                     move.w     D0, D1
  2149. 0000166A  4A80                     tst.l      D0
  2150. 0000166C  2F00                     move.l     -[A7], D0
  2151. 0000166E  4EBA 0E3C                jsr        [PC + 0xE3C /* 000024AC */]
  2152. 00001672  48C4                     ext.l      D4
  2153. 00001674  2F04                     move.l     -[A7], D4
  2154. 00001676  4EBA 0D7E                jsr        [PC + 0xD7E /* 000023F6 */]
  2155. 0000167A  2F07                     move.l     -[A7], D7
  2156. 0000167C  486E FFFA                pea.l      [A6 - 0x6]
  2157. 00001680  486E FFFC                pea.l      [A6 - 0x4]
  2158. 00001684  7001                     moveq.l    D0, 0x01
  2159. 00001686  2F00                     move.l     -[A7], D0
  2160. 00001688  4EBA 0EAA                jsr        [PC + 0xEAA /* 00002534 */]
  2161. 0000168C  302E FFF6                move.w     D0, [A6 - 0xA]
  2162. 00001690  48C0                     ext.l      D0
  2163. 00001692  2F00                     move.l     -[A7], D0
  2164. 00001694  4EBA 0D60                jsr        [PC + 0xD60 /* 000023F6 */]
  2165. 00001698  4FEF 0038                lea.l      A7, [A7 + 0x38]
  2166. 0000169C  51CE FFA2                dbf        D6, -0x60 /* 00001640 */
  2167. 000016A0  2F07                     move.l     -[A7], D7
  2168. 000016A2  486E FFFA                pea.l      [A6 - 0x6]
  2169. 000016A6  486E FFFC                pea.l      [A6 - 0x4]
  2170. 000016AA  7000                     moveq.l    D0, 0x00
  2171. 000016AC  2F00                     move.l     -[A7], D0
  2172. 000016AE  4EBA 0E84                jsr        [PC + 0xE84 /* 00002534 */]
  2173. 000016B2  2F07                     move.l     -[A7], D7
  2174. 000016B4  486E FFFA                pea.l      [A6 - 0x6]
  2175. 000016B8  486E FFFC                pea.l      [A6 - 0x4]
  2176. 000016BC  7001                     moveq.l    D0, 0x01
  2177. 000016BE  2F00                     move.l     -[A7], D0
  2178. 000016C0  4EBA 0DEA                jsr        [PC + 0xDEA /* 000024AC */]
  2179. 000016C4  3A3C 0BB8                move.w     D5, 0xBB8
  2180. 000016C8  4FEF 0020                lea.l      A7, [A7 + 0x20]
  2181. label000016CC:
  2182. 000016CC  48C4                     ext.l      D4
  2183. 000016CE  2F04                     move.l     -[A7], D4
  2184. 000016D0  4EBA 0D24                jsr        [PC + 0xD24 /* 000023F6 */]
  2185. 000016D4  486E FFFA                pea.l      [A6 - 0x6]
  2186. 000016D8  2F07                     move.l     -[A7], D7
  2187. 000016DA  4EBA 0D3C                jsr        [PC + 0xD3C /* 00002418 */]
  2188. 000016DE  7200                     moveq.l    D1, 0x00
  2189. 000016E0  3200                     move.w     D1, D0
  2190. 000016E2  4A81                     tst.l      D1
  2191. 000016E4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2192. 000016E8  6708                     beq        +0xA /* 000016F2 */
  2193. 000016EA  3005                     move.w     D0, D5
  2194. 000016EC  5345                     subq.w     D5, 1
  2195. 000016EE  4A45                     tst.w      D5
  2196. 000016F0  6EDA                     bgt        -0x24 /* 000016CC */
  2197. label000016F2:
  2198. 000016F2  4A45                     tst.w      D5
  2199. 000016F4  6628                     bne        +0x2A /* 0000171E */
  2200. 000016F6  2F07                     move.l     -[A7], D7
  2201. 000016F8  486E FFFA                pea.l      [A6 - 0x6]
  2202. 000016FC  486E FFFC                pea.l      [A6 - 0x4]
  2203. 00001700  7001                     moveq.l    D0, 0x01
  2204. 00001702  2F00                     move.l     -[A7], D0
  2205. 00001704  4EBA 0E2E                jsr        [PC + 0xE2E /* 00002534 */]
  2206. 00001708  41EE FFFF                lea.l      A0, [A6 - 0x1]
  2207. 0000170C  1010                     move.b     D0, [A0]
  2208. 0000170E  A05D                     syscall    SwapMMUMode
  2209. 00001710  1080                     move.b     [A0], D0
  2210. 00001712  303C E08E                move.w     D0, 0xE08E
  2211. 00001716  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2212. 0000171A  6000 01F8                bra        +0x1FA /* 00001914 */
  2213. label0000171E:
  2214. 0000171E  2F07                     move.l     -[A7], D7
  2215. 00001720  486E FFFA                pea.l      [A6 - 0x6]
  2216. 00001724  486E FFFC                pea.l      [A6 - 0x4]
  2217. 00001728  7001                     moveq.l    D0, 0x01
  2218. 0000172A  2F00                     move.l     -[A7], D0
  2219. 0000172C  4EBA 0E06                jsr        [PC + 0xE06 /* 00002534 */]
  2220. 00001730  302E FFF6                move.w     D0, [A6 - 0xA]
  2221. 00001734  48C0                     ext.l      D0
  2222. 00001736  2F00                     move.l     -[A7], D0
  2223. 00001738  4EBA 0CBC                jsr        [PC + 0xCBC /* 000023F6 */]
  2224. 0000173C  3D6E 0012 FFF8           move.w     [A6 - 0x8], [A6 + 0x12]
  2225. 00001742  7C07                     moveq.l    D6, 0x07
  2226. 00001744  4FEF 0014                lea.l      A7, [A7 + 0x14]
  2227. label00001748:
  2228. 00001748  2F07                     move.l     -[A7], D7
  2229. 0000174A  486E FFFA                pea.l      [A6 - 0x6]
  2230. 0000174E  486E FFFC                pea.l      [A6 - 0x4]
  2231. 00001752  7000                     moveq.l    D0, 0x00
  2232. 00001754  2F00                     move.l     -[A7], D0
  2233. 00001756  4EBA 0DDC                jsr        [PC + 0xDDC /* 00002534 */]
  2234. 0000175A  2F07                     move.l     -[A7], D7
  2235. 0000175C  486E FFFA                pea.l      [A6 - 0x6]
  2236. 00001760  486E FFFC                pea.l      [A6 - 0x4]
  2237. 00001764  302E FFF8                move.w     D0, [A6 - 0x8]
  2238. 00001768  EC60                     asr        D0.w, D6
  2239. 0000176A  7201                     moveq.l    D1, 0x01
  2240. 0000176C  C240                     and.w      D1, D0
  2241. 0000176E  7000                     moveq.l    D0, 0x00
  2242. 00001770  3001                     move.w     D0, D1
  2243. 00001772  4A80                     tst.l      D0
  2244. 00001774  2F00                     move.l     -[A7], D0
  2245. 00001776  4EBA 0D34                jsr        [PC + 0xD34 /* 000024AC */]
  2246. 0000177A  48C4                     ext.l      D4
  2247. 0000177C  2F04                     move.l     -[A7], D4
  2248. 0000177E  4EBA 0C76                jsr        [PC + 0xC76 /* 000023F6 */]
  2249. 00001782  2F07                     move.l     -[A7], D7
  2250. 00001784  486E FFFA                pea.l      [A6 - 0x6]
  2251. 00001788  486E FFFC                pea.l      [A6 - 0x4]
  2252. 0000178C  7001                     moveq.l    D0, 0x01
  2253. 0000178E  2F00                     move.l     -[A7], D0
  2254. 00001790  4EBA 0DA2                jsr        [PC + 0xDA2 /* 00002534 */]
  2255. 00001794  302E FFF6                move.w     D0, [A6 - 0xA]
  2256. 00001798  48C0                     ext.l      D0
  2257. 0000179A  2F00                     move.l     -[A7], D0
  2258. 0000179C  4EBA 0C58                jsr        [PC + 0xC58 /* 000023F6 */]
  2259. 000017A0  4FEF 0038                lea.l      A7, [A7 + 0x38]
  2260. 000017A4  51CE FFA2                dbf        D6, -0x60 /* 00001748 */
  2261. 000017A8  2F07                     move.l     -[A7], D7
  2262. 000017AA  486E FFFA                pea.l      [A6 - 0x6]
  2263. 000017AE  486E FFFC                pea.l      [A6 - 0x4]
  2264. 000017B2  7000                     moveq.l    D0, 0x00
  2265. 000017B4  2F00                     move.l     -[A7], D0
  2266. 000017B6  4EBA 0D7C                jsr        [PC + 0xD7C /* 00002534 */]
  2267. 000017BA  2F07                     move.l     -[A7], D7
  2268. 000017BC  486E FFFA                pea.l      [A6 - 0x6]
  2269. 000017C0  486E FFFC                pea.l      [A6 - 0x4]
  2270. 000017C4  7001                     moveq.l    D0, 0x01
  2271. 000017C6  2F00                     move.l     -[A7], D0
  2272. 000017C8  4EBA 0CE2                jsr        [PC + 0xCE2 /* 000024AC */]
  2273. 000017CC  3A3C 0BB8                move.w     D5, 0xBB8
  2274. 000017D0  4FEF 0020                lea.l      A7, [A7 + 0x20]
  2275. label000017D4:
  2276. 000017D4  48C4                     ext.l      D4
  2277. 000017D6  2F04                     move.l     -[A7], D4
  2278. 000017D8  4EBA 0C1C                jsr        [PC + 0xC1C /* 000023F6 */]
  2279. 000017DC  486E FFFA                pea.l      [A6 - 0x6]
  2280. 000017E0  2F07                     move.l     -[A7], D7
  2281. 000017E2  4EBA 0C34                jsr        [PC + 0xC34 /* 00002418 */]
  2282. 000017E6  7200                     moveq.l    D1, 0x00
  2283. 000017E8  3200                     move.w     D1, D0
  2284. 000017EA  4A81                     tst.l      D1
  2285. 000017EC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2286. 000017F0  6708                     beq        +0xA /* 000017FA */
  2287. 000017F2  3005                     move.w     D0, D5
  2288. 000017F4  5345                     subq.w     D5, 1
  2289. 000017F6  4A45                     tst.w      D5
  2290. 000017F8  6EDA                     bgt        -0x24 /* 000017D4 */
  2291. label000017FA:
  2292. 000017FA  2F07                     move.l     -[A7], D7
  2293. 000017FC  486E FFFA                pea.l      [A6 - 0x6]
  2294. 00001800  486E FFFC                pea.l      [A6 - 0x4]
  2295. 00001804  7001                     moveq.l    D0, 0x01
  2296. 00001806  2F00                     move.l     -[A7], D0
  2297. 00001808  4EBA 0D2A                jsr        [PC + 0xD2A /* 00002534 */]
  2298. 0000180C  302E FFF6                move.w     D0, [A6 - 0xA]
  2299. 00001810  48C0                     ext.l      D0
  2300. 00001812  2F00                     move.l     -[A7], D0
  2301. 00001814  4EBA 0BE0                jsr        [PC + 0xBE0 /* 000023F6 */]
  2302. 00001818  4A45                     tst.w      D5
  2303. 0000181A  4FEF 0014                lea.l      A7, [A7 + 0x14]
  2304. 0000181E  6628                     bne        +0x2A /* 00001848 */
  2305. 00001820  2F07                     move.l     -[A7], D7
  2306. 00001822  486E FFFA                pea.l      [A6 - 0x6]
  2307. 00001826  486E FFFC                pea.l      [A6 - 0x4]
  2308. 0000182A  7001                     moveq.l    D0, 0x01
  2309. 0000182C  2F00                     move.l     -[A7], D0
  2310. 0000182E  4EBA 0D04                jsr        [PC + 0xD04 /* 00002534 */]
  2311. 00001832  41EE FFFF                lea.l      A0, [A6 - 0x1]
  2312. 00001836  1010                     move.b     D0, [A0]
  2313. 00001838  A05D                     syscall    SwapMMUMode
  2314. 0000183A  1080                     move.b     [A0], D0
  2315. 0000183C  303C E08E                move.w     D0, 0xE08E
  2316. 00001840  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2317. 00001844  6000 00CE                bra        +0xD0 /* 00001914 */
  2318. label00001848:
  2319. 00001848  2F07                     move.l     -[A7], D7
  2320. 0000184A  486E FFFA                pea.l      [A6 - 0x6]
  2321. 0000184E  486E FFFC                pea.l      [A6 - 0x4]
  2322. 00001852  7000                     moveq.l    D0, 0x00
  2323. 00001854  2F00                     move.l     -[A7], D0
  2324. 00001856  4EBA 0CDC                jsr        [PC + 0xCDC /* 00002534 */]
  2325. 0000185A  2F07                     move.l     -[A7], D7
  2326. 0000185C  486E FFFA                pea.l      [A6 - 0x6]
  2327. 00001860  486E FFFC                pea.l      [A6 - 0x4]
  2328. 00001864  7000                     moveq.l    D0, 0x00
  2329. 00001866  2F00                     move.l     -[A7], D0
  2330. 00001868  4EBA 0C42                jsr        [PC + 0xC42 /* 000024AC */]
  2331. 0000186C  48C4                     ext.l      D4
  2332. 0000186E  2F04                     move.l     -[A7], D4
  2333. 00001870  4EBA 0B84                jsr        [PC + 0xB84 /* 000023F6 */]
  2334. 00001874  2F07                     move.l     -[A7], D7
  2335. 00001876  486E FFFA                pea.l      [A6 - 0x6]
  2336. 0000187A  486E FFFC                pea.l      [A6 - 0x4]
  2337. 0000187E  7001                     moveq.l    D0, 0x01
  2338. 00001880  2F00                     move.l     -[A7], D0
  2339. 00001882  4EBA 0CB0                jsr        [PC + 0xCB0 /* 00002534 */]
  2340. 00001886  48C4                     ext.l      D4
  2341. 00001888  2F04                     move.l     -[A7], D4
  2342. 0000188A  4EBA 0B6A                jsr        [PC + 0xB6A /* 000023F6 */]
  2343. 0000188E  2F07                     move.l     -[A7], D7
  2344. 00001890  486E FFFA                pea.l      [A6 - 0x6]
  2345. 00001894  486E FFFC                pea.l      [A6 - 0x4]
  2346. 00001898  7001                     moveq.l    D0, 0x01
  2347. 0000189A  2F00                     move.l     -[A7], D0
  2348. 0000189C  4EBA 0C0E                jsr        [PC + 0xC0E /* 000024AC */]
  2349. 000018A0  41EE FFFF                lea.l      A0, [A6 - 0x1]
  2350. 000018A4  1010                     move.b     D0, [A0]
  2351. 000018A6  A05D                     syscall    SwapMMUMode
  2352. 000018A8  1080                     move.b     [A0], D0
  2353. 000018AA  302E 000A                move.w     D0, [A6 + 0xA]
  2354. 000018AE  0440 008A                subi.w     D0, 0x8A
  2355. 000018B2  4FEF 0048                lea.l      A7, [A7 + 0x48]
  2356. 000018B6  6710                     beq        +0x12 /* 000018C8 */
  2357. 000018B8  5940                     subq.w     D0, 4
  2358. 000018BA  671C                     beq        +0x1E /* 000018D8 */
  2359. 000018BC  0440 0052                subi.w     D0, 0x52 /* 'R' */
  2360. 000018C0  672A                     beq        +0x2C /* 000018EC */
  2361. 000018C2  5540                     subq.w     D0, 2
  2362. 000018C4  673A                     beq        +0x3C /* 00001900 */
  2363. 000018C6  604A                     bra        +0x4C /* 00001912 */
  2364. label000018C8:
  2365. 000018C8  206E 0014                movea.l    A0, [A6 + 0x14]
  2366. 000018CC  302E 000E                move.w     D0, [A6 + 0xE]
  2367. 000018D0  11AE 0013 0072           move.b     [A0 + D0.w + 0x72], [A6 + 0x13]
  2368. 000018D6  603A                     bra        +0x3C /* 00001912 */
  2369. label000018D8:
  2370. 000018D8  206E 0014                movea.l    A0, [A6 + 0x14]
  2371. 000018DC  302E 000E                move.w     D0, [A6 + 0xE]
  2372. 000018E0  41E8 0194                lea.l      A0, [A0 + 0x194]
  2373. 000018E4  11AE 0013 0000           move.b     [A0 + D0.w], [A6 + 0x13]
  2374. 000018EA  6026                     bra        +0x28 /* 00001912 */
  2375. label000018EC:
  2376. 000018EC  206E 0014                movea.l    A0, [A6 + 0x14]
  2377. 000018F0  302E 000E                move.w     D0, [A6 + 0xE]
  2378. 000018F4  41E8 008B                lea.l      A0, [A0 + 0x8B]
  2379. 000018F8  11AE 0013 0000           move.b     [A0 + D0.w], [A6 + 0x13]
  2380. 000018FE  6012                     bra        +0x14 /* 00001912 */
  2381. label00001900:
  2382. 00001900  206E 0014                movea.l    A0, [A6 + 0x14]
  2383. 00001904  302E 000E                move.w     D0, [A6 + 0xE]
  2384. 00001908  41E8 01AD                lea.l      A0, [A0 + 0x1AD]
  2385. 0000190C  11AE 0013 0000           move.b     [A0 + D0.w], [A6 + 0x13]
  2386. label00001912:
  2387. 00001912  7000                     moveq.l    D0, 0x00
  2388. label00001914:
  2389. 00001914  4CEE 18F8 FFDA           movem.l    D3,D4,D5,D6,D7,A3,A4, [A6 - 0x26]
  2390. 0000191A  4E5E                     unlink     A6
  2391. 0000191C  4E75                     rts
  2392. fn0000191E:
  2393. 0000191E  4E56 FFEC                link       A6, -0x0014
  2394. 00001922  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  2395. 00001926  3C2E 000A                move.w     D6, [A6 + 0xA]
  2396. 0000192A  206E 0014                movea.l    A0, [A6 + 0x14]
  2397. 0000192E  2E10                     move.l     D7, [A0]
  2398. 00001930  2647                     movea.l    A3, D7
  2399. 00001932  D7FC 00F2 000C           add.l      A3, 0xF2000C
  2400. 00001938  2847                     movea.l    A4, D7
  2401. 0000193A  D9FC 00F2 0058           add.l      A4, 0xF20058
  2402. 00001940  598F                     subq.l     A7, 4
  2403. 00001942  206E 0010                movea.l    A0, [A6 + 0x10]
  2404. 00001946  2F08                     move.l     -[A7], A0
  2405. 00001948  4EBA 379C                jsr        [PC + 0x379C /* 000050E6 */]
  2406. 0000194C  2D5F FFFA                move.l     [A6 - 0x6], [A7]+
  2407. 00001950  3006                     move.w     D0, D6
  2408. 00001952  0440 00E0                subi.w     D0, 0xE0
  2409. 00001956  6706                     beq        +0x8 /* 0000195E */
  2410. 00001958  5540                     subq.w     D0, 2
  2411. 0000195A  6716                     beq        +0x18 /* 00001972 */
  2412. 0000195C  6028                     bra        +0x2A /* 00001986 */
  2413. label0000195E:
  2414. 0000195E  598F                     subq.l     A7, 4
  2415. 00001960  206E 0014                movea.l    A0, [A6 + 0x14]
  2416. 00001964  4868 008B                pea.l      [A0 + 0x8B]
  2417. 00001968  4EBA 377C                jsr        [PC + 0x377C /* 000050E6 */]
  2418. 0000196C  2D5F FFF6                move.l     [A6 - 0xA], [A7]+
  2419. 00001970  601A                     bra        +0x1C /* 0000198C */
  2420. label00001972:
  2421. 00001972  598F                     subq.l     A7, 4
  2422. 00001974  206E 0014                movea.l    A0, [A6 + 0x14]
  2423. 00001978  4868 01AD                pea.l      [A0 + 0x1AD]
  2424. 0000197C  4EBA 3768                jsr        [PC + 0x3768 /* 000050E6 */]
  2425. 00001980  2D5F FFF6                move.l     [A6 - 0xA], [A7]+
  2426. 00001984  6006                     bra        +0x8 /* 0000198C */
  2427. label00001986:
  2428. 00001986  70EF                     moveq.l    D0, 0xFFFFFFEF
  2429. 00001988  6000 04D0                bra        +0x4D2 /* 00001E5A */
  2430. label0000198C:
  2431. 0000198C  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  2432. 00001992  41EE FFFF                lea.l      A0, [A6 - 0x1]
  2433. 00001996  1010                     move.b     D0, [A0]
  2434. 00001998  A05D                     syscall    SwapMMUMode
  2435. 0000199A  1080                     move.b     [A0], D0
  2436. 0000199C  3013                     move.w     D0, [A3]
  2437. 0000199E  4640                     not.w      D0
  2438. 000019A0  3D40 FFF2                move.w     [A6 - 0xE], D0
  2439. 000019A4  3014                     move.w     D0, [A4]
  2440. 000019A6  4640                     not.w      D0
  2441. 000019A8  3D40 FFF4                move.w     [A6 - 0xC], D0
  2442. 000019AC  702F                     moveq.l    D0, 0x2F
  2443. 000019AE  C1F8 0D00                muls.w     D0, [0x00000D00 /* TimeDBRA */]
  2444. 000019B2  4C7C 0800 0000 2710      movem.l    A3, 0x2710
  2445. 000019BA  3800                     move.w     D4, D0
  2446. 000019BC  7028                     moveq.l    D0, 0x28
  2447. 000019BE  C1F8 0D00                muls.w     D0, [0x00000D00 /* TimeDBRA */]
  2448. 000019C2  4C7C 0800 0000 2710      movem.l    A3, 0x2710
  2449. 000019CA  3D40 FFEC                move.w     [A6 - 0x14], D0
  2450. 000019CE  3D7C 0BB8 FFF0           move.w     [A6 - 0x10], 0xBB8
  2451. label000019D4:
  2452. 000019D4  486E FFF2                pea.l      [A6 - 0xE]
  2453. 000019D8  2F07                     move.l     -[A7], D7
  2454. 000019DA  4EBA 0A86                jsr        [PC + 0xA86 /* 00002462 */]
  2455. 000019DE  7200                     moveq.l    D1, 0x00
  2456. 000019E0  3200                     move.w     D1, D0
  2457. 000019E2  4A81                     tst.l      D1
  2458. 000019E4  7002                     moveq.l    D0, 0x02
  2459. 000019E6  B081                     cmp.l      D0, D1
  2460. 000019E8  504F                     addq.w     A7, 8
  2461. 000019EA  6618                     bne        +0x1A /* 00001A04 */
  2462. 000019EC  486E FFF2                pea.l      [A6 - 0xE]
  2463. 000019F0  2F07                     move.l     -[A7], D7
  2464. 000019F2  4EBA 0A24                jsr        [PC + 0xA24 /* 00002418 */]
  2465. 000019F6  7200                     moveq.l    D1, 0x00
  2466. 000019F8  3200                     move.w     D1, D0
  2467. 000019FA  4A81                     tst.l      D1
  2468. 000019FC  7004                     moveq.l    D0, 0x04
  2469. 000019FE  B081                     cmp.l      D0, D1
  2470. 00001A00  504F                     addq.w     A7, 8
  2471. 00001A02  6768                     beq        +0x6A /* 00001A6C */
  2472. label00001A04:
  2473. 00001A04  2F07                     move.l     -[A7], D7
  2474. 00001A06  486E FFF2                pea.l      [A6 - 0xE]
  2475. 00001A0A  486E FFF4                pea.l      [A6 - 0xC]
  2476. 00001A0E  7000                     moveq.l    D0, 0x00
  2477. 00001A10  2F00                     move.l     -[A7], D0
  2478. 00001A12  4EBA 0B20                jsr        [PC + 0xB20 /* 00002534 */]
  2479. 00001A16  2F07                     move.l     -[A7], D7
  2480. 00001A18  486E FFF2                pea.l      [A6 - 0xE]
  2481. 00001A1C  486E FFF4                pea.l      [A6 - 0xC]
  2482. 00001A20  7000                     moveq.l    D0, 0x00
  2483. 00001A22  2F00                     move.l     -[A7], D0
  2484. 00001A24  4EBA 0A86                jsr        [PC + 0xA86 /* 000024AC */]
  2485. 00001A28  2F07                     move.l     -[A7], D7
  2486. 00001A2A  486E FFF2                pea.l      [A6 - 0xE]
  2487. 00001A2E  486E FFF4                pea.l      [A6 - 0xC]
  2488. 00001A32  7001                     moveq.l    D0, 0x01
  2489. 00001A34  2F00                     move.l     -[A7], D0
  2490. 00001A36  4EBA 0AFC                jsr        [PC + 0xAFC /* 00002534 */]
  2491. 00001A3A  48C4                     ext.l      D4
  2492. 00001A3C  2F04                     move.l     -[A7], D4
  2493. 00001A3E  4EBA 09B6                jsr        [PC + 0x9B6 /* 000023F6 */]
  2494. 00001A42  2F07                     move.l     -[A7], D7
  2495. 00001A44  486E FFF2                pea.l      [A6 - 0xE]
  2496. 00001A48  486E FFF4                pea.l      [A6 - 0xC]
  2497. 00001A4C  7001                     moveq.l    D0, 0x01
  2498. 00001A4E  2F00                     move.l     -[A7], D0
  2499. 00001A50  4EBA 0A5A                jsr        [PC + 0xA5A /* 000024AC */]
  2500. 00001A54  4FEF 0044                lea.l      A7, [A7 + 0x44]
  2501. 00001A58  6002                     bra        +0x4 /* 00001A5C */
  2502. 00001A5A  6010                     bra        +0x12 /* 00001A6C */
  2503. label00001A5C:
  2504. 00001A5C  302E FFF0                move.w     D0, [A6 - 0x10]
  2505. 00001A60  536E FFF0                subq.w     [A6 - 0x10], 1
  2506. 00001A64  4A6E FFF0                tst.w      [A6 - 0x10]
  2507. 00001A68  6E00 FF6A                bgt        -0x94 /* 000019D4 */
  2508. label00001A6C:
  2509. 00001A6C  4A6E FFF0                tst.w      [A6 - 0x10]
  2510. 00001A70  6612                     bne        +0x14 /* 00001A84 */
  2511. 00001A72  41EE FFFF                lea.l      A0, [A6 - 0x1]
  2512. 00001A76  1010                     move.b     D0, [A0]
  2513. 00001A78  A05D                     syscall    SwapMMUMode
  2514. 00001A7A  1080                     move.b     [A0], D0
  2515. 00001A7C  303C E08E                move.w     D0, 0xE08E
  2516. 00001A80  6000 03D8                bra        +0x3DA /* 00001E5A */
  2517. label00001A84:
  2518. 00001A84  48C4                     ext.l      D4
  2519. 00001A86  2F04                     move.l     -[A7], D4
  2520. 00001A88  4EBA 096C                jsr        [PC + 0x96C /* 000023F6 */]
  2521. 00001A8C  2F07                     move.l     -[A7], D7
  2522. 00001A8E  486E FFF2                pea.l      [A6 - 0xE]
  2523. 00001A92  486E FFF4                pea.l      [A6 - 0xC]
  2524. 00001A96  7000                     moveq.l    D0, 0x00
  2525. 00001A98  2F00                     move.l     -[A7], D0
  2526. 00001A9A  4EBA 0A10                jsr        [PC + 0xA10 /* 000024AC */]
  2527. 00001A9E  48C4                     ext.l      D4
  2528. 00001AA0  2F04                     move.l     -[A7], D4
  2529. 00001AA2  4EBA 0952                jsr        [PC + 0x952 /* 000023F6 */]
  2530. 00001AA6  303C 00FE                move.w     D0, 0xFE
  2531. 00001AAA  C046                     and.w      D0, D6
  2532. 00001AAC  3D40 FFEE                move.w     [A6 - 0x12], D0
  2533. 00001AB0  7C07                     moveq.l    D6, 0x07
  2534. 00001AB2  4FEF 0018                lea.l      A7, [A7 + 0x18]
  2535. label00001AB6:
  2536. 00001AB6  2F07                     move.l     -[A7], D7
  2537. 00001AB8  486E FFF2                pea.l      [A6 - 0xE]
  2538. 00001ABC  486E FFF4                pea.l      [A6 - 0xC]
  2539. 00001AC0  7000                     moveq.l    D0, 0x00
  2540. 00001AC2  2F00                     move.l     -[A7], D0
  2541. 00001AC4  4EBA 0A6E                jsr        [PC + 0xA6E /* 00002534 */]
  2542. 00001AC8  2F07                     move.l     -[A7], D7
  2543. 00001ACA  486E FFF2                pea.l      [A6 - 0xE]
  2544. 00001ACE  486E FFF4                pea.l      [A6 - 0xC]
  2545. 00001AD2  302E FFEE                move.w     D0, [A6 - 0x12]
  2546. 00001AD6  EC60                     asr        D0.w, D6
  2547. 00001AD8  7201                     moveq.l    D1, 0x01
  2548. 00001ADA  C240                     and.w      D1, D0
  2549. 00001ADC  7000                     moveq.l    D0, 0x00
  2550. 00001ADE  3001                     move.w     D0, D1
  2551. 00001AE0  4A80                     tst.l      D0
  2552. 00001AE2  2F00                     move.l     -[A7], D0
  2553. 00001AE4  4EBA 09C6                jsr        [PC + 0x9C6 /* 000024AC */]
  2554. 00001AE8  48C4                     ext.l      D4
  2555. 00001AEA  2F04                     move.l     -[A7], D4
  2556. 00001AEC  4EBA 0908                jsr        [PC + 0x908 /* 000023F6 */]
  2557. 00001AF0  2F07                     move.l     -[A7], D7
  2558. 00001AF2  486E FFF2                pea.l      [A6 - 0xE]
  2559. 00001AF6  486E FFF4                pea.l      [A6 - 0xC]
  2560. 00001AFA  7001                     moveq.l    D0, 0x01
  2561. 00001AFC  2F00                     move.l     -[A7], D0
  2562. 00001AFE  4EBA 0A34                jsr        [PC + 0xA34 /* 00002534 */]
  2563. 00001B02  302E FFEC                move.w     D0, [A6 - 0x14]
  2564. 00001B06  48C0                     ext.l      D0
  2565. 00001B08  2F00                     move.l     -[A7], D0
  2566. 00001B0A  4EBA 08EA                jsr        [PC + 0x8EA /* 000023F6 */]
  2567. 00001B0E  4FEF 0038                lea.l      A7, [A7 + 0x38]
  2568. 00001B12  51CE FFA2                dbf        D6, -0x60 /* 00001AB6 */
  2569. 00001B16  2F07                     move.l     -[A7], D7
  2570. 00001B18  486E FFF2                pea.l      [A6 - 0xE]
  2571. 00001B1C  486E FFF4                pea.l      [A6 - 0xC]
  2572. 00001B20  7000                     moveq.l    D0, 0x00
  2573. 00001B22  2F00                     move.l     -[A7], D0
  2574. 00001B24  4EBA 0A0E                jsr        [PC + 0xA0E /* 00002534 */]
  2575. 00001B28  2F07                     move.l     -[A7], D7
  2576. 00001B2A  486E FFF2                pea.l      [A6 - 0xE]
  2577. 00001B2E  486E FFF4                pea.l      [A6 - 0xC]
  2578. 00001B32  7001                     moveq.l    D0, 0x01
  2579. 00001B34  2F00                     move.l     -[A7], D0
  2580. 00001B36  4EBA 0974                jsr        [PC + 0x974 /* 000024AC */]
  2581. 00001B3A  3A3C 0BB8                move.w     D5, 0xBB8
  2582. 00001B3E  4FEF 0020                lea.l      A7, [A7 + 0x20]
  2583. label00001B42:
  2584. 00001B42  48C4                     ext.l      D4
  2585. 00001B44  2F04                     move.l     -[A7], D4
  2586. 00001B46  4EBA 08AE                jsr        [PC + 0x8AE /* 000023F6 */]
  2587. 00001B4A  486E FFF2                pea.l      [A6 - 0xE]
  2588. 00001B4E  2F07                     move.l     -[A7], D7
  2589. 00001B50  4EBA 08C6                jsr        [PC + 0x8C6 /* 00002418 */]
  2590. 00001B54  7200                     moveq.l    D1, 0x00
  2591. 00001B56  3200                     move.w     D1, D0
  2592. 00001B58  4A81                     tst.l      D1
  2593. 00001B5A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2594. 00001B5E  6708                     beq        +0xA /* 00001B68 */
  2595. 00001B60  3005                     move.w     D0, D5
  2596. 00001B62  5345                     subq.w     D5, 1
  2597. 00001B64  4A45                     tst.w      D5
  2598. 00001B66  6EDA                     bgt        -0x24 /* 00001B42 */
  2599. label00001B68:
  2600. 00001B68  4A45                     tst.w      D5
  2601. 00001B6A  6628                     bne        +0x2A /* 00001B94 */
  2602. 00001B6C  2F07                     move.l     -[A7], D7
  2603. 00001B6E  486E FFF2                pea.l      [A6 - 0xE]
  2604. 00001B72  486E FFF4                pea.l      [A6 - 0xC]
  2605. 00001B76  7001                     moveq.l    D0, 0x01
  2606. 00001B78  2F00                     move.l     -[A7], D0
  2607. 00001B7A  4EBA 09B8                jsr        [PC + 0x9B8 /* 00002534 */]
  2608. 00001B7E  41EE FFFF                lea.l      A0, [A6 - 0x1]
  2609. 00001B82  1010                     move.b     D0, [A0]
  2610. 00001B84  A05D                     syscall    SwapMMUMode
  2611. 00001B86  1080                     move.b     [A0], D0
  2612. 00001B88  303C E08E                move.w     D0, 0xE08E
  2613. 00001B8C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2614. 00001B90  6000 02C8                bra        +0x2CA /* 00001E5A */
  2615. label00001B94:
  2616. 00001B94  2F07                     move.l     -[A7], D7
  2617. 00001B96  486E FFF2                pea.l      [A6 - 0xE]
  2618. 00001B9A  486E FFF4                pea.l      [A6 - 0xC]
  2619. 00001B9E  7001                     moveq.l    D0, 0x01
  2620. 00001BA0  2F00                     move.l     -[A7], D0
  2621. 00001BA2  4EBA 0990                jsr        [PC + 0x990 /* 00002534 */]
  2622. 00001BA6  302E FFEC                move.w     D0, [A6 - 0x14]
  2623. 00001BAA  48C0                     ext.l      D0
  2624. 00001BAC  2F00                     move.l     -[A7], D0
  2625. 00001BAE  4EBA 0846                jsr        [PC + 0x846 /* 000023F6 */]
  2626. 00001BB2  3D6E 000E FFEE           move.w     [A6 - 0x12], [A6 + 0xE]
  2627. 00001BB8  7C07                     moveq.l    D6, 0x07
  2628. 00001BBA  4FEF 0014                lea.l      A7, [A7 + 0x14]
  2629. label00001BBE:
  2630. 00001BBE  2F07                     move.l     -[A7], D7
  2631. 00001BC0  486E FFF2                pea.l      [A6 - 0xE]
  2632. 00001BC4  486E FFF4                pea.l      [A6 - 0xC]
  2633. 00001BC8  7000                     moveq.l    D0, 0x00
  2634. 00001BCA  2F00                     move.l     -[A7], D0
  2635. 00001BCC  4EBA 0966                jsr        [PC + 0x966 /* 00002534 */]
  2636. 00001BD0  2F07                     move.l     -[A7], D7
  2637. 00001BD2  486E FFF2                pea.l      [A6 - 0xE]
  2638. 00001BD6  486E FFF4                pea.l      [A6 - 0xC]
  2639. 00001BDA  302E FFEE                move.w     D0, [A6 - 0x12]
  2640. 00001BDE  EC60                     asr        D0.w, D6
  2641. 00001BE0  7201                     moveq.l    D1, 0x01
  2642. 00001BE2  C240                     and.w      D1, D0
  2643. 00001BE4  7000                     moveq.l    D0, 0x00
  2644. 00001BE6  3001                     move.w     D0, D1
  2645. 00001BE8  4A80                     tst.l      D0
  2646. 00001BEA  2F00                     move.l     -[A7], D0
  2647. 00001BEC  4EBA 08BE                jsr        [PC + 0x8BE /* 000024AC */]
  2648. 00001BF0  48C4                     ext.l      D4
  2649. 00001BF2  2F04                     move.l     -[A7], D4
  2650. 00001BF4  4EBA 0800                jsr        [PC + 0x800 /* 000023F6 */]
  2651. 00001BF8  2F07                     move.l     -[A7], D7
  2652. 00001BFA  486E FFF2                pea.l      [A6 - 0xE]
  2653. 00001BFE  486E FFF4                pea.l      [A6 - 0xC]
  2654. 00001C02  7001                     moveq.l    D0, 0x01
  2655. 00001C04  2F00                     move.l     -[A7], D0
  2656. 00001C06  4EBA 092C                jsr        [PC + 0x92C /* 00002534 */]
  2657. 00001C0A  302E FFEC                move.w     D0, [A6 - 0x14]
  2658. 00001C0E  48C0                     ext.l      D0
  2659. 00001C10  2F00                     move.l     -[A7], D0
  2660. 00001C12  4EBA 07E2                jsr        [PC + 0x7E2 /* 000023F6 */]
  2661. 00001C16  4FEF 0038                lea.l      A7, [A7 + 0x38]
  2662. 00001C1A  51CE FFA2                dbf        D6, -0x60 /* 00001BBE */
  2663. 00001C1E  2F07                     move.l     -[A7], D7
  2664. 00001C20  486E FFF2                pea.l      [A6 - 0xE]
  2665. 00001C24  486E FFF4                pea.l      [A6 - 0xC]
  2666. 00001C28  7000                     moveq.l    D0, 0x00
  2667. 00001C2A  2F00                     move.l     -[A7], D0
  2668. 00001C2C  4EBA 0906                jsr        [PC + 0x906 /* 00002534 */]
  2669. 00001C30  2F07                     move.l     -[A7], D7
  2670. 00001C32  486E FFF2                pea.l      [A6 - 0xE]
  2671. 00001C36  486E FFF4                pea.l      [A6 - 0xC]
  2672. 00001C3A  7001                     moveq.l    D0, 0x01
  2673. 00001C3C  2F00                     move.l     -[A7], D0
  2674. 00001C3E  4EBA 086C                jsr        [PC + 0x86C /* 000024AC */]
  2675. 00001C42  3A3C 0BB8                move.w     D5, 0xBB8
  2676. 00001C46  4FEF 0020                lea.l      A7, [A7 + 0x20]
  2677. label00001C4A:
  2678. 00001C4A  48C4                     ext.l      D4
  2679. 00001C4C  2F04                     move.l     -[A7], D4
  2680. 00001C4E  4EBA 07A6                jsr        [PC + 0x7A6 /* 000023F6 */]
  2681. 00001C52  486E FFF2                pea.l      [A6 - 0xE]
  2682. 00001C56  2F07                     move.l     -[A7], D7
  2683. 00001C58  4EBA 07BE                jsr        [PC + 0x7BE /* 00002418 */]
  2684. 00001C5C  7200                     moveq.l    D1, 0x00
  2685. 00001C5E  3200                     move.w     D1, D0
  2686. 00001C60  4A81                     tst.l      D1
  2687. 00001C62  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2688. 00001C66  6708                     beq        +0xA /* 00001C70 */
  2689. 00001C68  3005                     move.w     D0, D5
  2690. 00001C6A  5345                     subq.w     D5, 1
  2691. 00001C6C  4A45                     tst.w      D5
  2692. 00001C6E  6EDA                     bgt        -0x24 /* 00001C4A */
  2693. label00001C70:
  2694. 00001C70  4A45                     tst.w      D5
  2695. 00001C72  6628                     bne        +0x2A /* 00001C9C */
  2696. 00001C74  2F07                     move.l     -[A7], D7
  2697. 00001C76  486E FFF2                pea.l      [A6 - 0xE]
  2698. 00001C7A  486E FFF4                pea.l      [A6 - 0xC]
  2699. 00001C7E  7001                     moveq.l    D0, 0x01
  2700. 00001C80  2F00                     move.l     -[A7], D0
  2701. 00001C82  4EBA 08B0                jsr        [PC + 0x8B0 /* 00002534 */]
  2702. 00001C86  41EE FFFF                lea.l      A0, [A6 - 0x1]
  2703. 00001C8A  1010                     move.b     D0, [A0]
  2704. 00001C8C  A05D                     syscall    SwapMMUMode
  2705. 00001C8E  1080                     move.b     [A0], D0
  2706. 00001C90  303C E08E                move.w     D0, 0xE08E
  2707. 00001C94  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2708. 00001C98  6000 01C0                bra        +0x1C2 /* 00001E5A */
  2709. label00001C9C:
  2710. 00001C9C  2F07                     move.l     -[A7], D7
  2711. 00001C9E  486E FFF2                pea.l      [A6 - 0xE]
  2712. 00001CA2  486E FFF4                pea.l      [A6 - 0xC]
  2713. 00001CA6  7001                     moveq.l    D0, 0x01
  2714. 00001CA8  2F00                     move.l     -[A7], D0
  2715. 00001CAA  4EBA 0888                jsr        [PC + 0x888 /* 00002534 */]
  2716. 00001CAE  302E FFEC                move.w     D0, [A6 - 0x14]
  2717. 00001CB2  48C0                     ext.l      D0
  2718. 00001CB4  2F00                     move.l     -[A7], D0
  2719. 00001CB6  4EBA 073E                jsr        [PC + 0x73E /* 000023F6 */]
  2720. 00001CBA  426E FFF0                clr.w      [A6 - 0x10]
  2721. 00001CBE  4FEF 0014                lea.l      A7, [A7 + 0x14]
  2722. label00001CC2:
  2723. 00001CC2  206E FFFA                movea.l    A0, [A6 - 0x6]
  2724. 00001CC6  302E FFF0                move.w     D0, [A6 - 0x10]
  2725. 00001CCA  7200                     moveq.l    D1, 0x00
  2726. 00001CCC  1230 0000                move.b     D1, [A0 + D0.w]
  2727. 00001CD0  4A81                     tst.l      D1
  2728. 00001CD2  3D41 FFEE                move.w     [A6 - 0x12], D1
  2729. 00001CD6  7C07                     moveq.l    D6, 0x07
  2730. label00001CD8:
  2731. 00001CD8  2F07                     move.l     -[A7], D7
  2732. 00001CDA  486E FFF2                pea.l      [A6 - 0xE]
  2733. 00001CDE  486E FFF4                pea.l      [A6 - 0xC]
  2734. 00001CE2  7000                     moveq.l    D0, 0x00
  2735. 00001CE4  2F00                     move.l     -[A7], D0
  2736. 00001CE6  4EBA 084C                jsr        [PC + 0x84C /* 00002534 */]
  2737. 00001CEA  2F07                     move.l     -[A7], D7
  2738. 00001CEC  486E FFF2                pea.l      [A6 - 0xE]
  2739. 00001CF0  486E FFF4                pea.l      [A6 - 0xC]
  2740. 00001CF4  302E FFEE                move.w     D0, [A6 - 0x12]
  2741. 00001CF8  EC60                     asr        D0.w, D6
  2742. 00001CFA  7201                     moveq.l    D1, 0x01
  2743. 00001CFC  C240                     and.w      D1, D0
  2744. 00001CFE  7000                     moveq.l    D0, 0x00
  2745. 00001D00  3001                     move.w     D0, D1
  2746. 00001D02  4A80                     tst.l      D0
  2747. 00001D04  2F00                     move.l     -[A7], D0
  2748. 00001D06  4EBA 07A4                jsr        [PC + 0x7A4 /* 000024AC */]
  2749. 00001D0A  48C4                     ext.l      D4
  2750. 00001D0C  2F04                     move.l     -[A7], D4
  2751. 00001D0E  4EBA 06E6                jsr        [PC + 0x6E6 /* 000023F6 */]
  2752. 00001D12  2F07                     move.l     -[A7], D7
  2753. 00001D14  486E FFF2                pea.l      [A6 - 0xE]
  2754. 00001D18  486E FFF4                pea.l      [A6 - 0xC]
  2755. 00001D1C  7001                     moveq.l    D0, 0x01
  2756. 00001D1E  2F00                     move.l     -[A7], D0
  2757. 00001D20  4EBA 0812                jsr        [PC + 0x812 /* 00002534 */]
  2758. 00001D24  302E FFEC                move.w     D0, [A6 - 0x14]
  2759. 00001D28  48C0                     ext.l      D0
  2760. 00001D2A  2F00                     move.l     -[A7], D0
  2761. 00001D2C  4EBA 06C8                jsr        [PC + 0x6C8 /* 000023F6 */]
  2762. 00001D30  4FEF 0038                lea.l      A7, [A7 + 0x38]
  2763. 00001D34  51CE FFA2                dbf        D6, -0x60 /* 00001CD8 */
  2764. 00001D38  2F07                     move.l     -[A7], D7
  2765. 00001D3A  486E FFF2                pea.l      [A6 - 0xE]
  2766. 00001D3E  486E FFF4                pea.l      [A6 - 0xC]
  2767. 00001D42  7000                     moveq.l    D0, 0x00
  2768. 00001D44  2F00                     move.l     -[A7], D0
  2769. 00001D46  4EBA 07EC                jsr        [PC + 0x7EC /* 00002534 */]
  2770. 00001D4A  2F07                     move.l     -[A7], D7
  2771. 00001D4C  486E FFF2                pea.l      [A6 - 0xE]
  2772. 00001D50  486E FFF4                pea.l      [A6 - 0xC]
  2773. 00001D54  7001                     moveq.l    D0, 0x01
  2774. 00001D56  2F00                     move.l     -[A7], D0
  2775. 00001D58  4EBA 0752                jsr        [PC + 0x752 /* 000024AC */]
  2776. 00001D5C  3A3C 0BB8                move.w     D5, 0xBB8
  2777. 00001D60  4FEF 0020                lea.l      A7, [A7 + 0x20]
  2778. label00001D64:
  2779. 00001D64  48C4                     ext.l      D4
  2780. 00001D66  2F04                     move.l     -[A7], D4
  2781. 00001D68  4EBA 068C                jsr        [PC + 0x68C /* 000023F6 */]
  2782. 00001D6C  486E FFF2                pea.l      [A6 - 0xE]
  2783. 00001D70  2F07                     move.l     -[A7], D7
  2784. 00001D72  4EBA 06A4                jsr        [PC + 0x6A4 /* 00002418 */]
  2785. 00001D76  7200                     moveq.l    D1, 0x00
  2786. 00001D78  3200                     move.w     D1, D0
  2787. 00001D7A  4A81                     tst.l      D1
  2788. 00001D7C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2789. 00001D80  6708                     beq        +0xA /* 00001D8A */
  2790. 00001D82  3005                     move.w     D0, D5
  2791. 00001D84  5345                     subq.w     D5, 1
  2792. 00001D86  4A45                     tst.w      D5
  2793. 00001D88  6EDA                     bgt        -0x24 /* 00001D64 */
  2794. label00001D8A:
  2795. 00001D8A  2F07                     move.l     -[A7], D7
  2796. 00001D8C  486E FFF2                pea.l      [A6 - 0xE]
  2797. 00001D90  486E FFF4                pea.l      [A6 - 0xC]
  2798. 00001D94  7001                     moveq.l    D0, 0x01
  2799. 00001D96  2F00                     move.l     -[A7], D0
  2800. 00001D98  4EBA 079A                jsr        [PC + 0x79A /* 00002534 */]
  2801. 00001D9C  302E FFEC                move.w     D0, [A6 - 0x14]
  2802. 00001DA0  48C0                     ext.l      D0
  2803. 00001DA2  2F00                     move.l     -[A7], D0
  2804. 00001DA4  4EBA 0650                jsr        [PC + 0x650 /* 000023F6 */]
  2805. 00001DA8  206E FFFA                movea.l    A0, [A6 - 0x6]
  2806. 00001DAC  302E FFF0                move.w     D0, [A6 - 0x10]
  2807. 00001DB0  322E 000E                move.w     D1, [A6 + 0xE]
  2808. 00001DB4  48C1                     ext.l      D1
  2809. 00001DB6  342E FFF0                move.w     D2, [A6 - 0x10]
  2810. 00001DBA  48C2                     ext.l      D2
  2811. 00001DBC  D481                     add.l      D2, D1
  2812. 00001DBE  226E FFF6                movea.l    A1, [A6 - 0xA]
  2813. 00001DC2  13B0 0000 2800           move.b     [A1 + D2], [A0 + D0.w]
  2814. 00001DC8  4FEF 0014                lea.l      A7, [A7 + 0x14]
  2815. 00001DCC  302E FFF0                move.w     D0, [A6 - 0x10]
  2816. 00001DD0  526E FFF0                addq.w     [A6 - 0x10], 1
  2817. 00001DD4  0C6E 0100 FFF0           cmpi.w     [A6 - 0x10], 0x100
  2818. 00001DDA  6D00 FEE6                blt        -0x118 /* 00001CC2 */
  2819. 00001DDE  4A45                     tst.w      D5
  2820. 00001DE0  6610                     bne        +0x12 /* 00001DF2 */
  2821. 00001DE2  41EE FFFF                lea.l      A0, [A6 - 0x1]
  2822. 00001DE6  1010                     move.b     D0, [A0]
  2823. 00001DE8  A05D                     syscall    SwapMMUMode
  2824. 00001DEA  1080                     move.b     [A0], D0
  2825. 00001DEC  303C E08E                move.w     D0, 0xE08E
  2826. 00001DF0  6068                     bra        +0x6A /* 00001E5A */
  2827. label00001DF2:
  2828. 00001DF2  2F07                     move.l     -[A7], D7
  2829. 00001DF4  486E FFF2                pea.l      [A6 - 0xE]
  2830. 00001DF8  486E FFF4                pea.l      [A6 - 0xC]
  2831. 00001DFC  7000                     moveq.l    D0, 0x00
  2832. 00001DFE  2F00                     move.l     -[A7], D0
  2833. 00001E00  4EBA 0732                jsr        [PC + 0x732 /* 00002534 */]
  2834. 00001E04  2F07                     move.l     -[A7], D7
  2835. 00001E06  486E FFF2                pea.l      [A6 - 0xE]
  2836. 00001E0A  486E FFF4                pea.l      [A6 - 0xC]
  2837. 00001E0E  7000                     moveq.l    D0, 0x00
  2838. 00001E10  2F00                     move.l     -[A7], D0
  2839. 00001E12  4EBA 0698                jsr        [PC + 0x698 /* 000024AC */]
  2840. 00001E16  48C4                     ext.l      D4
  2841. 00001E18  2F04                     move.l     -[A7], D4
  2842. 00001E1A  4EBA 05DA                jsr        [PC + 0x5DA /* 000023F6 */]
  2843. 00001E1E  2F07                     move.l     -[A7], D7
  2844. 00001E20  486E FFF2                pea.l      [A6 - 0xE]
  2845. 00001E24  486E FFF4                pea.l      [A6 - 0xC]
  2846. 00001E28  7001                     moveq.l    D0, 0x01
  2847. 00001E2A  2F00                     move.l     -[A7], D0
  2848. 00001E2C  4EBA 0706                jsr        [PC + 0x706 /* 00002534 */]
  2849. 00001E30  48C4                     ext.l      D4
  2850. 00001E32  2F04                     move.l     -[A7], D4
  2851. 00001E34  4EBA 05C0                jsr        [PC + 0x5C0 /* 000023F6 */]
  2852. 00001E38  2F07                     move.l     -[A7], D7
  2853. 00001E3A  486E FFF2                pea.l      [A6 - 0xE]
  2854. 00001E3E  486E FFF4                pea.l      [A6 - 0xC]
  2855. 00001E42  7001                     moveq.l    D0, 0x01
  2856. 00001E44  2F00                     move.l     -[A7], D0
  2857. 00001E46  4EBA 0664                jsr        [PC + 0x664 /* 000024AC */]
  2858. 00001E4A  41EE FFFF                lea.l      A0, [A6 - 0x1]
  2859. 00001E4E  1010                     move.b     D0, [A0]
  2860. 00001E50  A05D                     syscall    SwapMMUMode
  2861. 00001E52  1080                     move.b     [A0], D0
  2862. 00001E54  7000                     moveq.l    D0, 0x00
  2863. 00001E56  4FEF 0048                lea.l      A7, [A7 + 0x48]
  2864. label00001E5A:
  2865. 00001E5A  4CEE 18F8 FFD0           movem.l    D3,D4,D5,D6,D7,A3,A4, [A6 - 0x30]
  2866. 00001E60  4E5E                     unlink     A6
  2867. 00001E62  4E75                     rts
  2868. fn00001E64:
  2869. 00001E64  4E56 FFF2                link       A6, -0x000E
  2870. 00001E68  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  2871. 00001E6C  206E 0014                movea.l    A0, [A6 + 0x14]
  2872. 00001E70  2E10                     move.l     D7, [A0]
  2873. 00001E72  2647                     movea.l    A3, D7
  2874. 00001E74  D7FC 00F2 000C           add.l      A3, 0xF2000C
  2875. 00001E7A  2847                     movea.l    A4, D7
  2876. 00001E7C  D9FC 00F2 0058           add.l      A4, 0xF20058
  2877. 00001E82  598F                     subq.l     A7, 4
  2878. 00001E84  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  2879. 00001E88  4EBA 325C                jsr        [PC + 0x325C /* 000050E6 */]
  2880. 00001E8C  2D5F FFFA                move.l     [A6 - 0x6], [A7]+
  2881. 00001E90  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  2882. 00001E96  41EE FFFF                lea.l      A0, [A6 - 0x1]
  2883. 00001E9A  1010                     move.b     D0, [A0]
  2884. 00001E9C  A05D                     syscall    SwapMMUMode
  2885. 00001E9E  1080                     move.b     [A0], D0
  2886. 00001EA0  3013                     move.w     D0, [A3]
  2887. 00001EA2  4640                     not.w      D0
  2888. 00001EA4  3D40 FFF6                move.w     [A6 - 0xA], D0
  2889. 00001EA8  3014                     move.w     D0, [A4]
  2890. 00001EAA  4640                     not.w      D0
  2891. 00001EAC  3D40 FFF8                move.w     [A6 - 0x8], D0
  2892. 00001EB0  702F                     moveq.l    D0, 0x2F
  2893. 00001EB2  C1F8 0D00                muls.w     D0, [0x00000D00 /* TimeDBRA */]
  2894. 00001EB6  4C7C 0800 0000 2710      movem.l    A3, 0x2710
  2895. 00001EBE  3800                     move.w     D4, D0
  2896. 00001EC0  7028                     moveq.l    D0, 0x28
  2897. 00001EC2  C1F8 0D00                muls.w     D0, [0x00000D00 /* TimeDBRA */]
  2898. 00001EC6  4C7C 0800 0000 2710      movem.l    A3, 0x2710
  2899. 00001ECE  3D40 FFF2                move.w     [A6 - 0xE], D0
  2900. 00001ED2  3C3C 0BB8                move.w     D6, 0xBB8
  2901. label00001ED6:
  2902. 00001ED6  486E FFF6                pea.l      [A6 - 0xA]
  2903. 00001EDA  2F07                     move.l     -[A7], D7
  2904. 00001EDC  4EBA 0584                jsr        [PC + 0x584 /* 00002462 */]
  2905. 00001EE0  7200                     moveq.l    D1, 0x00
  2906. 00001EE2  3200                     move.w     D1, D0
  2907. 00001EE4  4A81                     tst.l      D1
  2908. 00001EE6  7002                     moveq.l    D0, 0x02
  2909. 00001EE8  B081                     cmp.l      D0, D1
  2910. 00001EEA  504F                     addq.w     A7, 8
  2911. 00001EEC  6618                     bne        +0x1A /* 00001F06 */
  2912. 00001EEE  486E FFF6                pea.l      [A6 - 0xA]
  2913. 00001EF2  2F07                     move.l     -[A7], D7
  2914. 00001EF4  4EBA 0522                jsr        [PC + 0x522 /* 00002418 */]
  2915. 00001EF8  7200                     moveq.l    D1, 0x00
  2916. 00001EFA  3200                     move.w     D1, D0
  2917. 00001EFC  4A81                     tst.l      D1
  2918. 00001EFE  7004                     moveq.l    D0, 0x04
  2919. 00001F00  B081                     cmp.l      D0, D1
  2920. 00001F02  504F                     addq.w     A7, 8
  2921. 00001F04  6762                     beq        +0x64 /* 00001F68 */
  2922. label00001F06:
  2923. 00001F06  2F07                     move.l     -[A7], D7
  2924. 00001F08  486E FFF6                pea.l      [A6 - 0xA]
  2925. 00001F0C  486E FFF8                pea.l      [A6 - 0x8]
  2926. 00001F10  7000                     moveq.l    D0, 0x00
  2927. 00001F12  2F00                     move.l     -[A7], D0
  2928. 00001F14  4EBA 061E                jsr        [PC + 0x61E /* 00002534 */]
  2929. 00001F18  2F07                     move.l     -[A7], D7
  2930. 00001F1A  486E FFF6                pea.l      [A6 - 0xA]
  2931. 00001F1E  486E FFF8                pea.l      [A6 - 0x8]
  2932. 00001F22  7000                     moveq.l    D0, 0x00
  2933. 00001F24  2F00                     move.l     -[A7], D0
  2934. 00001F26  4EBA 0584                jsr        [PC + 0x584 /* 000024AC */]
  2935. 00001F2A  2F07                     move.l     -[A7], D7
  2936. 00001F2C  486E FFF6                pea.l      [A6 - 0xA]
  2937. 00001F30  486E FFF8                pea.l      [A6 - 0x8]
  2938. 00001F34  7001                     moveq.l    D0, 0x01
  2939. 00001F36  2F00                     move.l     -[A7], D0
  2940. 00001F38  4EBA 05FA                jsr        [PC + 0x5FA /* 00002534 */]
  2941. 00001F3C  48C4                     ext.l      D4
  2942. 00001F3E  2F04                     move.l     -[A7], D4
  2943. 00001F40  4EBA 04B4                jsr        [PC + 0x4B4 /* 000023F6 */]
  2944. 00001F44  2F07                     move.l     -[A7], D7
  2945. 00001F46  486E FFF6                pea.l      [A6 - 0xA]
  2946. 00001F4A  486E FFF8                pea.l      [A6 - 0x8]
  2947. 00001F4E  7001                     moveq.l    D0, 0x01
  2948. 00001F50  2F00                     move.l     -[A7], D0
  2949. 00001F52  4EBA 0558                jsr        [PC + 0x558 /* 000024AC */]
  2950. 00001F56  4FEF 0044                lea.l      A7, [A7 + 0x44]
  2951. 00001F5A  6002                     bra        +0x4 /* 00001F5E */
  2952. 00001F5C  600A                     bra        +0xC /* 00001F68 */
  2953. label00001F5E:
  2954. 00001F5E  3006                     move.w     D0, D6
  2955. 00001F60  5346                     subq.w     D6, 1
  2956. 00001F62  4A46                     tst.w      D6
  2957. 00001F64  6E00 FF70                bgt        -0x8E /* 00001ED6 */
  2958. label00001F68:
  2959. 00001F68  4A46                     tst.w      D6
  2960. 00001F6A  6612                     bne        +0x14 /* 00001F7E */
  2961. 00001F6C  41EE FFFF                lea.l      A0, [A6 - 0x1]
  2962. 00001F70  1010                     move.b     D0, [A0]
  2963. 00001F72  A05D                     syscall    SwapMMUMode
  2964. 00001F74  1080                     move.b     [A0], D0
  2965. 00001F76  303C E08E                move.w     D0, 0xE08E
  2966. 00001F7A  6000 0470                bra        +0x472 /* 000023EC */
  2967. label00001F7E:
  2968. 00001F7E  48C4                     ext.l      D4
  2969. 00001F80  2F04                     move.l     -[A7], D4
  2970. 00001F82  4EBA 0472                jsr        [PC + 0x472 /* 000023F6 */]
  2971. 00001F86  2F07                     move.l     -[A7], D7
  2972. 00001F88  486E FFF6                pea.l      [A6 - 0xA]
  2973. 00001F8C  486E FFF8                pea.l      [A6 - 0x8]
  2974. 00001F90  7000                     moveq.l    D0, 0x00
  2975. 00001F92  2F00                     move.l     -[A7], D0
  2976. 00001F94  4EBA 0516                jsr        [PC + 0x516 /* 000024AC */]
  2977. 00001F98  48C4                     ext.l      D4
  2978. 00001F9A  2F04                     move.l     -[A7], D4
  2979. 00001F9C  4EBA 0458                jsr        [PC + 0x458 /* 000023F6 */]
  2980. 00001FA0  303C 00FE                move.w     D0, 0xFE
  2981. 00001FA4  C06E 000A                and.w      D0, [A6 + 0xA]
  2982. 00001FA8  3D40 FFF4                move.w     [A6 - 0xC], D0
  2983. 00001FAC  7C07                     moveq.l    D6, 0x07
  2984. 00001FAE  4FEF 0018                lea.l      A7, [A7 + 0x18]
  2985. label00001FB2:
  2986. 00001FB2  2F07                     move.l     -[A7], D7
  2987. 00001FB4  486E FFF6                pea.l      [A6 - 0xA]
  2988. 00001FB8  486E FFF8                pea.l      [A6 - 0x8]
  2989. 00001FBC  7000                     moveq.l    D0, 0x00
  2990. 00001FBE  2F00                     move.l     -[A7], D0
  2991. 00001FC0  4EBA 0572                jsr        [PC + 0x572 /* 00002534 */]
  2992. 00001FC4  2F07                     move.l     -[A7], D7
  2993. 00001FC6  486E FFF6                pea.l      [A6 - 0xA]
  2994. 00001FCA  486E FFF8                pea.l      [A6 - 0x8]
  2995. 00001FCE  302E FFF4                move.w     D0, [A6 - 0xC]
  2996. 00001FD2  EC60                     asr        D0.w, D6
  2997. 00001FD4  7201                     moveq.l    D1, 0x01
  2998. 00001FD6  C240                     and.w      D1, D0
  2999. 00001FD8  7000                     moveq.l    D0, 0x00
  3000. 00001FDA  3001                     move.w     D0, D1
  3001. 00001FDC  4A80                     tst.l      D0
  3002. 00001FDE  2F00                     move.l     -[A7], D0
  3003. 00001FE0  4EBA 04CA                jsr        [PC + 0x4CA /* 000024AC */]
  3004. 00001FE4  48C4                     ext.l      D4
  3005. 00001FE6  2F04                     move.l     -[A7], D4
  3006. 00001FE8  4EBA 040C                jsr        [PC + 0x40C /* 000023F6 */]
  3007. 00001FEC  2F07                     move.l     -[A7], D7
  3008. 00001FEE  486E FFF6                pea.l      [A6 - 0xA]
  3009. 00001FF2  486E FFF8                pea.l      [A6 - 0x8]
  3010. 00001FF6  7001                     moveq.l    D0, 0x01
  3011. 00001FF8  2F00                     move.l     -[A7], D0
  3012. 00001FFA  4EBA 0538                jsr        [PC + 0x538 /* 00002534 */]
  3013. 00001FFE  302E FFF2                move.w     D0, [A6 - 0xE]
  3014. 00002002  48C0                     ext.l      D0
  3015. 00002004  2F00                     move.l     -[A7], D0
  3016. 00002006  4EBA 03EE                jsr        [PC + 0x3EE /* 000023F6 */]
  3017. 0000200A  4FEF 0038                lea.l      A7, [A7 + 0x38]
  3018. 0000200E  51CE FFA2                dbf        D6, -0x60 /* 00001FB2 */
  3019. 00002012  2F07                     move.l     -[A7], D7
  3020. 00002014  486E FFF6                pea.l      [A6 - 0xA]
  3021. 00002018  486E FFF8                pea.l      [A6 - 0x8]
  3022. 0000201C  7000                     moveq.l    D0, 0x00
  3023. 0000201E  2F00                     move.l     -[A7], D0
  3024. 00002020  4EBA 0512                jsr        [PC + 0x512 /* 00002534 */]
  3025. 00002024  2F07                     move.l     -[A7], D7
  3026. 00002026  486E FFF6                pea.l      [A6 - 0xA]
  3027. 0000202A  486E FFF8                pea.l      [A6 - 0x8]
  3028. 0000202E  7001                     moveq.l    D0, 0x01
  3029. 00002030  2F00                     move.l     -[A7], D0
  3030. 00002032  4EBA 0478                jsr        [PC + 0x478 /* 000024AC */]
  3031. 00002036  3A3C 0BB8                move.w     D5, 0xBB8
  3032. 0000203A  4FEF 0020                lea.l      A7, [A7 + 0x20]
  3033. label0000203E:
  3034. 0000203E  48C4                     ext.l      D4
  3035. 00002040  2F04                     move.l     -[A7], D4
  3036. 00002042  4EBA 03B2                jsr        [PC + 0x3B2 /* 000023F6 */]
  3037. 00002046  486E FFF6                pea.l      [A6 - 0xA]
  3038. 0000204A  2F07                     move.l     -[A7], D7
  3039. 0000204C  4EBA 03CA                jsr        [PC + 0x3CA /* 00002418 */]
  3040. 00002050  7200                     moveq.l    D1, 0x00
  3041. 00002052  3200                     move.w     D1, D0
  3042. 00002054  4A81                     tst.l      D1
  3043. 00002056  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3044. 0000205A  6708                     beq        +0xA /* 00002064 */
  3045. 0000205C  3005                     move.w     D0, D5
  3046. 0000205E  5345                     subq.w     D5, 1
  3047. 00002060  4A45                     tst.w      D5
  3048. 00002062  6EDA                     bgt        -0x24 /* 0000203E */
  3049. label00002064:
  3050. 00002064  4A45                     tst.w      D5
  3051. 00002066  6628                     bne        +0x2A /* 00002090 */
  3052. 00002068  2F07                     move.l     -[A7], D7
  3053. 0000206A  486E FFF6                pea.l      [A6 - 0xA]
  3054. 0000206E  486E FFF8                pea.l      [A6 - 0x8]
  3055. 00002072  7001                     moveq.l    D0, 0x01
  3056. 00002074  2F00                     move.l     -[A7], D0
  3057. 00002076  4EBA 04BC                jsr        [PC + 0x4BC /* 00002534 */]
  3058. 0000207A  41EE FFFF                lea.l      A0, [A6 - 0x1]
  3059. 0000207E  1010                     move.b     D0, [A0]
  3060. 00002080  A05D                     syscall    SwapMMUMode
  3061. 00002082  1080                     move.b     [A0], D0
  3062. 00002084  303C E08E                move.w     D0, 0xE08E
  3063. 00002088  4FEF 0010                lea.l      A7, [A7 + 0x10]
  3064. 0000208C  6000 035E                bra        +0x360 /* 000023EC */
  3065. label00002090:
  3066. 00002090  2F07                     move.l     -[A7], D7
  3067. 00002092  486E FFF6                pea.l      [A6 - 0xA]
  3068. 00002096  486E FFF8                pea.l      [A6 - 0x8]
  3069. 0000209A  7001                     moveq.l    D0, 0x01
  3070. 0000209C  2F00                     move.l     -[A7], D0
  3071. 0000209E  4EBA 0494                jsr        [PC + 0x494 /* 00002534 */]
  3072. 000020A2  302E FFF2                move.w     D0, [A6 - 0xE]
  3073. 000020A6  48C0                     ext.l      D0
  3074. 000020A8  2F00                     move.l     -[A7], D0
  3075. 000020AA  4EBA 034A                jsr        [PC + 0x34A /* 000023F6 */]
  3076. 000020AE  3D6E 000E FFF4           move.w     [A6 - 0xC], [A6 + 0xE]
  3077. 000020B4  7C07                     moveq.l    D6, 0x07
  3078. 000020B6  4FEF 0014                lea.l      A7, [A7 + 0x14]
  3079. label000020BA:
  3080. 000020BA  2F07                     move.l     -[A7], D7
  3081. 000020BC  486E FFF6                pea.l      [A6 - 0xA]
  3082. 000020C0  486E FFF8                pea.l      [A6 - 0x8]
  3083. 000020C4  7000                     moveq.l    D0, 0x00
  3084. 000020C6  2F00                     move.l     -[A7], D0
  3085. 000020C8  4EBA 046A                jsr        [PC + 0x46A /* 00002534 */]
  3086. 000020CC  2F07                     move.l     -[A7], D7
  3087. 000020CE  486E FFF6                pea.l      [A6 - 0xA]
  3088. 000020D2  486E FFF8                pea.l      [A6 - 0x8]
  3089. 000020D6  302E FFF4                move.w     D0, [A6 - 0xC]
  3090. 000020DA  EC60                     asr        D0.w, D6
  3091. 000020DC  7201                     moveq.l    D1, 0x01
  3092. 000020DE  C240                     and.w      D1, D0
  3093. 000020E0  7000                     moveq.l    D0, 0x00
  3094. 000020E2  3001                     move.w     D0, D1
  3095. 000020E4  4A80                     tst.l      D0
  3096. 000020E6  2F00                     move.l     -[A7], D0
  3097. 000020E8  4EBA 03C2                jsr        [PC + 0x3C2 /* 000024AC */]
  3098. 000020EC  48C4                     ext.l      D4
  3099. 000020EE  2F04                     move.l     -[A7], D4
  3100. 000020F0  4EBA 0304                jsr        [PC + 0x304 /* 000023F6 */]
  3101. 000020F4  2F07                     move.l     -[A7], D7
  3102. 000020F6  486E FFF6                pea.l      [A6 - 0xA]
  3103. 000020FA  486E FFF8                pea.l      [A6 - 0x8]
  3104. 000020FE  7001                     moveq.l    D0, 0x01
  3105. 00002100  2F00                     move.l     -[A7], D0
  3106. 00002102  4EBA 0430                jsr        [PC + 0x430 /* 00002534 */]
  3107. 00002106  302E FFF2                move.w     D0, [A6 - 0xE]
  3108. 0000210A  48C0                     ext.l      D0
  3109. 0000210C  2F00                     move.l     -[A7], D0
  3110. 0000210E  4EBA 02E6                jsr        [PC + 0x2E6 /* 000023F6 */]
  3111. 00002112  4FEF 0038                lea.l      A7, [A7 + 0x38]
  3112. 00002116  51CE FFA2                dbf        D6, -0x60 /* 000020BA */
  3113. 0000211A  2F07                     move.l     -[A7], D7
  3114. 0000211C  486E FFF6                pea.l      [A6 - 0xA]
  3115. 00002120  486E FFF8                pea.l      [A6 - 0x8]
  3116. 00002124  7000                     moveq.l    D0, 0x00
  3117. 00002126  2F00                     move.l     -[A7], D0
  3118. 00002128  4EBA 040A                jsr        [PC + 0x40A /* 00002534 */]
  3119. 0000212C  2F07                     move.l     -[A7], D7
  3120. 0000212E  486E FFF6                pea.l      [A6 - 0xA]
  3121. 00002132  486E FFF8                pea.l      [A6 - 0x8]
  3122. 00002136  7001                     moveq.l    D0, 0x01
  3123. 00002138  2F00                     move.l     -[A7], D0
  3124. 0000213A  4EBA 0370                jsr        [PC + 0x370 /* 000024AC */]
  3125. 0000213E  3A3C 0BB8                move.w     D5, 0xBB8
  3126. 00002142  4FEF 0020                lea.l      A7, [A7 + 0x20]
  3127. label00002146:
  3128. 00002146  48C4                     ext.l      D4
  3129. 00002148  2F04                     move.l     -[A7], D4
  3130. 0000214A  4EBA 02AA                jsr        [PC + 0x2AA /* 000023F6 */]
  3131. 0000214E  486E FFF6                pea.l      [A6 - 0xA]
  3132. 00002152  2F07                     move.l     -[A7], D7
  3133. 00002154  4EBA 02C2                jsr        [PC + 0x2C2 /* 00002418 */]
  3134. 00002158  7200                     moveq.l    D1, 0x00
  3135. 0000215A  3200                     move.w     D1, D0
  3136. 0000215C  4A81                     tst.l      D1
  3137. 0000215E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3138. 00002162  6708                     beq        +0xA /* 0000216C */
  3139. 00002164  3005                     move.w     D0, D5
  3140. 00002166  5345                     subq.w     D5, 1
  3141. 00002168  4A45                     tst.w      D5
  3142. 0000216A  6EDA                     bgt        -0x24 /* 00002146 */
  3143. label0000216C:
  3144. 0000216C  4A45                     tst.w      D5
  3145. 0000216E  6628                     bne        +0x2A /* 00002198 */
  3146. 00002170  2F07                     move.l     -[A7], D7
  3147. 00002172  486E FFF6                pea.l      [A6 - 0xA]
  3148. 00002176  486E FFF8                pea.l      [A6 - 0x8]
  3149. 0000217A  7001                     moveq.l    D0, 0x01
  3150. 0000217C  2F00                     move.l     -[A7], D0
  3151. 0000217E  4EBA 03B4                jsr        [PC + 0x3B4 /* 00002534 */]
  3152. 00002182  41EE FFFF                lea.l      A0, [A6 - 0x1]
  3153. 00002186  1010                     move.b     D0, [A0]
  3154. 00002188  A05D                     syscall    SwapMMUMode
  3155. 0000218A  1080                     move.b     [A0], D0
  3156. 0000218C  303C E08E                move.w     D0, 0xE08E
  3157. 00002190  4FEF 0010                lea.l      A7, [A7 + 0x10]
  3158. 00002194  6000 0256                bra        +0x258 /* 000023EC */
  3159. label00002198:
  3160. 00002198  2F07                     move.l     -[A7], D7
  3161. 0000219A  486E FFF6                pea.l      [A6 - 0xA]
  3162. 0000219E  486E FFF8                pea.l      [A6 - 0x8]
  3163. 000021A2  7001                     moveq.l    D0, 0x01
  3164. 000021A4  2F00                     move.l     -[A7], D0
  3165. 000021A6  4EBA 038C                jsr        [PC + 0x38C /* 00002534 */]
  3166. 000021AA  302E FFF2                move.w     D0, [A6 - 0xE]
  3167. 000021AE  48C0                     ext.l      D0
  3168. 000021B0  2F00                     move.l     -[A7], D0
  3169. 000021B2  4EBA 0242                jsr        [PC + 0x242 /* 000023F6 */]
  3170. 000021B6  2F07                     move.l     -[A7], D7
  3171. 000021B8  486E FFF6                pea.l      [A6 - 0xA]
  3172. 000021BC  486E FFF8                pea.l      [A6 - 0x8]
  3173. 000021C0  7000                     moveq.l    D0, 0x00
  3174. 000021C2  2F00                     move.l     -[A7], D0
  3175. 000021C4  4EBA 036E                jsr        [PC + 0x36E /* 00002534 */]
  3176. 000021C8  48C4                     ext.l      D4
  3177. 000021CA  2F04                     move.l     -[A7], D4
  3178. 000021CC  4EBA 0228                jsr        [PC + 0x228 /* 000023F6 */]
  3179. 000021D0  2F07                     move.l     -[A7], D7
  3180. 000021D2  486E FFF6                pea.l      [A6 - 0xA]
  3181. 000021D6  486E FFF8                pea.l      [A6 - 0x8]
  3182. 000021DA  7001                     moveq.l    D0, 0x01
  3183. 000021DC  2F00                     move.l     -[A7], D0
  3184. 000021DE  4EBA 0354                jsr        [PC + 0x354 /* 00002534 */]
  3185. 000021E2  48C4                     ext.l      D4
  3186. 000021E4  2F04                     move.l     -[A7], D4
  3187. 000021E6  4EBA 020E                jsr        [PC + 0x20E /* 000023F6 */]
  3188. 000021EA  2F07                     move.l     -[A7], D7
  3189. 000021EC  486E FFF6                pea.l      [A6 - 0xA]
  3190. 000021F0  486E FFF8                pea.l      [A6 - 0x8]
  3191. 000021F4  7000                     moveq.l    D0, 0x00
  3192. 000021F6  2F00                     move.l     -[A7], D0
  3193. 000021F8  4EBA 02B2                jsr        [PC + 0x2B2 /* 000024AC */]
  3194. 000021FC  48C4                     ext.l      D4
  3195. 000021FE  2F04                     move.l     -[A7], D4
  3196. 00002200  4EBA 01F4                jsr        [PC + 0x1F4 /* 000023F6 */]
  3197. 00002204  303C 00FE                move.w     D0, 0xFE
  3198. 00002208  C06E 000A                and.w      D0, [A6 + 0xA]
  3199. 0000220C  3D40 FFF4                move.w     [A6 - 0xC], D0
  3200. 00002210  526E FFF4                addq.w     [A6 - 0xC], 1
  3201. 00002214  7C07                     moveq.l    D6, 0x07
  3202. 00002216  4FEF 0050                lea.l      A7, [A7 + 0x50]
  3203. label0000221A:
  3204. 0000221A  2F07                     move.l     -[A7], D7
  3205. 0000221C  486E FFF6                pea.l      [A6 - 0xA]
  3206. 00002220  486E FFF8                pea.l      [A6 - 0x8]
  3207. 00002224  7000                     moveq.l    D0, 0x00
  3208. 00002226  2F00                     move.l     -[A7], D0
  3209. 00002228  4EBA 030A                jsr        [PC + 0x30A /* 00002534 */]
  3210. 0000222C  2F07                     move.l     -[A7], D7
  3211. 0000222E  486E FFF6                pea.l      [A6 - 0xA]
  3212. 00002232  486E FFF8                pea.l      [A6 - 0x8]
  3213. 00002236  302E FFF4                move.w     D0, [A6 - 0xC]
  3214. 0000223A  EC60                     asr        D0.w, D6
  3215. 0000223C  7201                     moveq.l    D1, 0x01
  3216. 0000223E  C240                     and.w      D1, D0
  3217. 00002240  7000                     moveq.l    D0, 0x00
  3218. 00002242  3001                     move.w     D0, D1
  3219. 00002244  4A80                     tst.l      D0
  3220. 00002246  2F00                     move.l     -[A7], D0
  3221. 00002248  4EBA 0262                jsr        [PC + 0x262 /* 000024AC */]
  3222. 0000224C  48C4                     ext.l      D4
  3223. 0000224E  2F04                     move.l     -[A7], D4
  3224. 00002250  4EBA 01A4                jsr        [PC + 0x1A4 /* 000023F6 */]
  3225. 00002254  2F07                     move.l     -[A7], D7
  3226. 00002256  486E FFF6                pea.l      [A6 - 0xA]
  3227. 0000225A  486E FFF8                pea.l      [A6 - 0x8]
  3228. 0000225E  7001                     moveq.l    D0, 0x01
  3229. 00002260  2F00                     move.l     -[A7], D0
  3230. 00002262  4EBA 02D0                jsr        [PC + 0x2D0 /* 00002534 */]
  3231. 00002266  302E FFF2                move.w     D0, [A6 - 0xE]
  3232. 0000226A  48C0                     ext.l      D0
  3233. 0000226C  2F00                     move.l     -[A7], D0
  3234. 0000226E  4EBA 0186                jsr        [PC + 0x186 /* 000023F6 */]
  3235. 00002272  4FEF 0038                lea.l      A7, [A7 + 0x38]
  3236. 00002276  51CE FFA2                dbf        D6, -0x60 /* 0000221A */
  3237. 0000227A  2F07                     move.l     -[A7], D7
  3238. 0000227C  486E FFF6                pea.l      [A6 - 0xA]
  3239. 00002280  486E FFF8                pea.l      [A6 - 0x8]
  3240. 00002284  7000                     moveq.l    D0, 0x00
  3241. 00002286  2F00                     move.l     -[A7], D0
  3242. 00002288  4EBA 02AA                jsr        [PC + 0x2AA /* 00002534 */]
  3243. 0000228C  2F07                     move.l     -[A7], D7
  3244. 0000228E  486E FFF6                pea.l      [A6 - 0xA]
  3245. 00002292  486E FFF8                pea.l      [A6 - 0x8]
  3246. 00002296  7001                     moveq.l    D0, 0x01
  3247. 00002298  2F00                     move.l     -[A7], D0
  3248. 0000229A  4EBA 0210                jsr        [PC + 0x210 /* 000024AC */]
  3249. 0000229E  3A3C 0BB8                move.w     D5, 0xBB8
  3250. 000022A2  4FEF 0020                lea.l      A7, [A7 + 0x20]
  3251. label000022A6:
  3252. 000022A6  48C4                     ext.l      D4
  3253. 000022A8  2F04                     move.l     -[A7], D4
  3254. 000022AA  4EBA 014A                jsr        [PC + 0x14A /* 000023F6 */]
  3255. 000022AE  486E FFF6                pea.l      [A6 - 0xA]
  3256. 000022B2  2F07                     move.l     -[A7], D7
  3257. 000022B4  4EBA 0162                jsr        [PC + 0x162 /* 00002418 */]
  3258. 000022B8  7200                     moveq.l    D1, 0x00
  3259. 000022BA  3200                     move.w     D1, D0
  3260. 000022BC  4A81                     tst.l      D1
  3261. 000022BE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3262. 000022C2  6708                     beq        +0xA /* 000022CC */
  3263. 000022C4  3005                     move.w     D0, D5
  3264. 000022C6  5345                     subq.w     D5, 1
  3265. 000022C8  4A45                     tst.w      D5
  3266. 000022CA  6EDA                     bgt        -0x24 /* 000022A6 */
  3267. label000022CC:
  3268. 000022CC  4A45                     tst.w      D5
  3269. 000022CE  6628                     bne        +0x2A /* 000022F8 */
  3270. 000022D0  2F07                     move.l     -[A7], D7
  3271. 000022D2  486E FFF6                pea.l      [A6 - 0xA]
  3272. 000022D6  486E FFF8                pea.l      [A6 - 0x8]
  3273. 000022DA  7001                     moveq.l    D0, 0x01
  3274. 000022DC  2F00                     move.l     -[A7], D0
  3275. 000022DE  4EBA 0254                jsr        [PC + 0x254 /* 00002534 */]
  3276. 000022E2  41EE FFFF                lea.l      A0, [A6 - 0x1]
  3277. 000022E6  1010                     move.b     D0, [A0]
  3278. 000022E8  A05D                     syscall    SwapMMUMode
  3279. 000022EA  1080                     move.b     [A0], D0
  3280. 000022EC  303C E08E                move.w     D0, 0xE08E
  3281. 000022F0  4FEF 0010                lea.l      A7, [A7 + 0x10]
  3282. 000022F4  6000 00F6                bra        +0xF8 /* 000023EC */
  3283. label000022F8:
  3284. 000022F8  2F07                     move.l     -[A7], D7
  3285. 000022FA  486E FFF6                pea.l      [A6 - 0xA]
  3286. 000022FE  486E FFF8                pea.l      [A6 - 0x8]
  3287. 00002302  7001                     moveq.l    D0, 0x01
  3288. 00002304  2F00                     move.l     -[A7], D0
  3289. 00002306  4EBA 022C                jsr        [PC + 0x22C /* 00002534 */]
  3290. 0000230A  302E FFF2                move.w     D0, [A6 - 0xE]
  3291. 0000230E  48C0                     ext.l      D0
  3292. 00002310  2F00                     move.l     -[A7], D0
  3293. 00002312  4EBA 00E2                jsr        [PC + 0xE2 /* 000023F6 */]
  3294. 00002316  426E FFF4                clr.w      [A6 - 0xC]
  3295. 0000231A  7C07                     moveq.l    D6, 0x07
  3296. 0000231C  4FEF 0014                lea.l      A7, [A7 + 0x14]
  3297. label00002320:
  3298. 00002320  2F07                     move.l     -[A7], D7
  3299. 00002322  486E FFF6                pea.l      [A6 - 0xA]
  3300. 00002326  486E FFF8                pea.l      [A6 - 0x8]
  3301. 0000232A  7000                     moveq.l    D0, 0x00
  3302. 0000232C  2F00                     move.l     -[A7], D0
  3303. 0000232E  4EBA 0204                jsr        [PC + 0x204 /* 00002534 */]
  3304. 00002332  48C4                     ext.l      D4
  3305. 00002334  2F04                     move.l     -[A7], D4
  3306. 00002336  4EBA 00BE                jsr        [PC + 0xBE /* 000023F6 */]
  3307. 0000233A  2F07                     move.l     -[A7], D7
  3308. 0000233C  486E FFF6                pea.l      [A6 - 0xA]
  3309. 00002340  486E FFF8                pea.l      [A6 - 0x8]
  3310. 00002344  7001                     moveq.l    D0, 0x01
  3311. 00002346  2F00                     move.l     -[A7], D0
  3312. 00002348  4EBA 01EA                jsr        [PC + 0x1EA /* 00002534 */]
  3313. 0000234C  302E FFF2                move.w     D0, [A6 - 0xE]
  3314. 00002350  48C0                     ext.l      D0
  3315. 00002352  2F00                     move.l     -[A7], D0
  3316. 00002354  4EBA 00A0                jsr        [PC + 0xA0 /* 000023F6 */]
  3317. 00002358  486E FFF6                pea.l      [A6 - 0xA]
  3318. 0000235C  2F07                     move.l     -[A7], D7
  3319. 0000235E  4EBA 00B8                jsr        [PC + 0xB8 /* 00002418 */]
  3320. 00002362  4A40                     tst.w      D0
  3321. 00002364  504F                     addq.w     A7, 8
  3322. 00002366  6704                     beq        +0x6 /* 0000236C */
  3323. 00002368  7001                     moveq.l    D0, 0x01
  3324. 0000236A  6002                     bra        +0x4 /* 0000236E */
  3325. label0000236C:
  3326. 0000236C  7000                     moveq.l    D0, 0x00
  3327. label0000236E:
  3328. 0000236E  EDA8                     lsl        D0, D6
  3329. 00002370  816E FFF4                or.w       [A6 - 0xC], D0
  3330. 00002374  4FEF 0028                lea.l      A7, [A7 + 0x28]
  3331. 00002378  51CE FFA6                dbf        D6, -0x5C /* 00002320 */
  3332. 0000237C  206E FFFA                movea.l    A0, [A6 - 0x6]
  3333. 00002380  30AE FFF4                move.w     [A0], [A6 - 0xC]
  3334. 00002384  2F07                     move.l     -[A7], D7
  3335. 00002386  486E FFF6                pea.l      [A6 - 0xA]
  3336. 0000238A  486E FFF8                pea.l      [A6 - 0x8]
  3337. 0000238E  7000                     moveq.l    D0, 0x00
  3338. 00002390  2F00                     move.l     -[A7], D0
  3339. 00002392  4EBA 01A0                jsr        [PC + 0x1A0 /* 00002534 */]
  3340. 00002396  2F07                     move.l     -[A7], D7
  3341. 00002398  486E FFF6                pea.l      [A6 - 0xA]
  3342. 0000239C  486E FFF8                pea.l      [A6 - 0x8]
  3343. 000023A0  7000                     moveq.l    D0, 0x00
  3344. 000023A2  2F00                     move.l     -[A7], D0
  3345. 000023A4  4EBA 0106                jsr        [PC + 0x106 /* 000024AC */]
  3346. 000023A8  48C4                     ext.l      D4
  3347. 000023AA  2F04                     move.l     -[A7], D4
  3348. 000023AC  4EBA 0048                jsr        [PC + 0x48 /* 000023F6 */]
  3349. 000023B0  2F07                     move.l     -[A7], D7
  3350. 000023B2  486E FFF6                pea.l      [A6 - 0xA]
  3351. 000023B6  486E FFF8                pea.l      [A6 - 0x8]
  3352. 000023BA  7001                     moveq.l    D0, 0x01
  3353. 000023BC  2F00                     move.l     -[A7], D0
  3354. 000023BE  4EBA 0174                jsr        [PC + 0x174 /* 00002534 */]
  3355. 000023C2  48C4                     ext.l      D4
  3356. 000023C4  2F04                     move.l     -[A7], D4
  3357. 000023C6  4EBA 002E                jsr        [PC + 0x2E /* 000023F6 */]
  3358. 000023CA  2F07                     move.l     -[A7], D7
  3359. 000023CC  486E FFF6                pea.l      [A6 - 0xA]
  3360. 000023D0  486E FFF8                pea.l      [A6 - 0x8]
  3361. 000023D4  7001                     moveq.l    D0, 0x01
  3362. 000023D6  2F00                     move.l     -[A7], D0
  3363. 000023D8  4EBA 00D2                jsr        [PC + 0xD2 /* 000024AC */]
  3364. 000023DC  41EE FFFF                lea.l      A0, [A6 - 0x1]
  3365. 000023E0  1010                     move.b     D0, [A0]
  3366. 000023E2  A05D                     syscall    SwapMMUMode
  3367. 000023E4  1080                     move.b     [A0], D0
  3368. 000023E6  7000                     moveq.l    D0, 0x00
  3369. 000023E8  4FEF 0048                lea.l      A7, [A7 + 0x48]
  3370. label000023EC:
  3371. 000023EC  4CEE 18F8 FFD6           movem.l    D3,D4,D5,D6,D7,A3,A4, [A6 - 0x2A]
  3372. 000023F2  4E5E                     unlink     A6
  3373. 000023F4  4E75                     rts
  3374. fn000023F6:
  3375. 000023F6  4E56 0000                link       A6, 0
  3376. 000023FA  48E7 0300                movem.l    -[A7], D6,D7
  3377. 000023FE  3C2E 000A                move.w     D6, [A6 + 0xA]
  3378. 00002402  3E06                     move.w     D7, D6
  3379. 00002404  5347                     subq.w     D7, 1
  3380. 00002406  4A47                     tst.w      D7
  3381. 00002408  6D04                     blt        +0x6 /* 0000240E */
  3382. label0000240A:
  3383. 0000240A  51CF FFFE                dbf        D7, -0x4 /* 0000240A */
  3384. label0000240E:
  3385. 0000240E  4CEE 00C0 FFF8           movem.l    D6,D7, [A6 - 0x8]
  3386. 00002414  4E5E                     unlink     A6
  3387. 00002416  4E75                     rts
  3388. fn00002418:
  3389. 00002418  4E56 FFFE                link       A6, -0x0002
  3390. 0000241C  2F07                     move.l     -[A7], D7
  3391. 0000241E  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  3392. 00002424  41EE FFFF                lea.l      A0, [A6 - 0x1]
  3393. 00002428  1010                     move.b     D0, [A0]
  3394. 0000242A  A05D                     syscall    SwapMMUMode
  3395. 0000242C  1080                     move.b     [A0], D0
  3396. 0000242E  206E 000C                movea.l    A0, [A6 + 0xC]
  3397. 00002432  0250 FFFB                andi.w     [A0], 0xFFFB
  3398. 00002436  202E 0008                move.l     D0, [A6 + 0x8]
  3399. 0000243A  D0BC 00F2 0058           add.l      D0, 0xF20058
  3400. 00002440  2040                     movea.l    A0, D0
  3401. 00002442  7000                     moveq.l    D0, 0x00
  3402. 00002444  3010                     move.w     D0, [A0]
  3403. 00002446  4A80                     tst.l      D0
  3404. 00002448  4680                     not.l      D0
  3405. 0000244A  7E04                     moveq.l    D7, 0x04
  3406. 0000244C  CE80                     and.l      D7, D0
  3407. 0000244E  41EE FFFF                lea.l      A0, [A6 - 0x1]
  3408. 00002452  1010                     move.b     D0, [A0]
  3409. 00002454  A05D                     syscall    SwapMMUMode
  3410. 00002456  1080                     move.b     [A0], D0
  3411. 00002458  3007                     move.w     D0, D7
  3412. 0000245A  2E2E FFFA                move.l     D7, [A6 - 0x6]
  3413. 0000245E  4E5E                     unlink     A6
  3414. 00002460  4E75                     rts
  3415. fn00002462:
  3416. 00002462  4E56 FFFE                link       A6, -0x0002
  3417. 00002466  2F07                     move.l     -[A7], D7
  3418. 00002468  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  3419. 0000246E  41EE FFFF                lea.l      A0, [A6 - 0x1]
  3420. 00002472  1010                     move.b     D0, [A0]
  3421. 00002474  A05D                     syscall    SwapMMUMode
  3422. 00002476  1080                     move.b     [A0], D0
  3423. 00002478  206E 000C                movea.l    A0, [A6 + 0xC]
  3424. 0000247C  0250 FFFD                andi.w     [A0], 0xFFFD
  3425. 00002480  202E 0008                move.l     D0, [A6 + 0x8]
  3426. 00002484  D0BC 00F2 0058           add.l      D0, 0xF20058
  3427. 0000248A  2040                     movea.l    A0, D0
  3428. 0000248C  7000                     moveq.l    D0, 0x00
  3429. 0000248E  3010                     move.w     D0, [A0]
  3430. 00002490  4A80                     tst.l      D0
  3431. 00002492  4680                     not.l      D0
  3432. 00002494  7E02                     moveq.l    D7, 0x02
  3433. 00002496  CE80                     and.l      D7, D0
  3434. 00002498  41EE FFFF                lea.l      A0, [A6 - 0x1]
  3435. 0000249C  1010                     move.b     D0, [A0]
  3436. 0000249E  A05D                     syscall    SwapMMUMode
  3437. 000024A0  1080                     move.b     [A0], D0
  3438. 000024A2  3007                     move.w     D0, D7
  3439. 000024A4  2E2E FFFA                move.l     D7, [A6 - 0x6]
  3440. 000024A8  4E5E                     unlink     A6
  3441. 000024AA  4E75                     rts
  3442. fn000024AC:
  3443. 000024AC  4E56 FFFE                link       A6, -0x0002
  3444. 000024B0  48E7 0118                movem.l    -[A7], D7,A3,A4
  3445. 000024B4  266E 000C                movea.l    A3, [A6 + 0xC]
  3446. 000024B8  2E2E 0014                move.l     D7, [A6 + 0x14]
  3447. 000024BC  286E 0010                movea.l    A4, [A6 + 0x10]
  3448. 000024C0  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  3449. 000024C6  41EE FFFF                lea.l      A0, [A6 - 0x1]
  3450. 000024CA  1010                     move.b     D0, [A0]
  3451. 000024CC  A05D                     syscall    SwapMMUMode
  3452. 000024CE  1080                     move.b     [A0], D0
  3453. 000024D0  4A6E 000A                tst.w      [A6 + 0xA]
  3454. 000024D4  671A                     beq        +0x1C /* 000024F0 */
  3455. 000024D6  0254 FFFB                andi.w     [A4], 0xFFFB
  3456. 000024DA  7000                     moveq.l    D0, 0x00
  3457. 000024DC  3014                     move.w     D0, [A4]
  3458. 000024DE  4A80                     tst.l      D0
  3459. 000024E0  4680                     not.l      D0
  3460. 000024E2  2207                     move.l     D1, D7
  3461. 000024E4  D2BC 00F2 000C           add.l      D1, 0xF2000C
  3462. 000024EA  2041                     movea.l    A0, D1
  3463. 000024EC  3080                     move.w     [A0], D0
  3464. 000024EE  6030                     bra        +0x32 /* 00002520 */
  3465. label000024F0:
  3466. 000024F0  0054 0004                ori.w      [A4], 0x4
  3467. 000024F4  7000                     moveq.l    D0, 0x00
  3468. 000024F6  3014                     move.w     D0, [A4]
  3469. 000024F8  4A80                     tst.l      D0
  3470. 000024FA  4680                     not.l      D0
  3471. 000024FC  2207                     move.l     D1, D7
  3472. 000024FE  D2BC 00F2 000C           add.l      D1, 0xF2000C
  3473. 00002504  2041                     movea.l    A0, D1
  3474. 00002506  3080                     move.w     [A0], D0
  3475. 00002508  0253 FFFB                andi.w     [A3], 0xFFFB
  3476. 0000250C  7000                     moveq.l    D0, 0x00
  3477. 0000250E  3013                     move.w     D0, [A3]
  3478. 00002510  4A80                     tst.l      D0
  3479. 00002512  4680                     not.l      D0
  3480. 00002514  2207                     move.l     D1, D7
  3481. 00002516  D2BC 00F2 0058           add.l      D1, 0xF20058
  3482. 0000251C  2041                     movea.l    A0, D1
  3483. 0000251E  3080                     move.w     [A0], D0
  3484. label00002520:
  3485. 00002520  41EE FFFF                lea.l      A0, [A6 - 0x1]
  3486. 00002524  1010                     move.b     D0, [A0]
  3487. 00002526  A05D                     syscall    SwapMMUMode
  3488. 00002528  1080                     move.b     [A0], D0
  3489. 0000252A  4CEE 1880 FFF2           movem.l    D7,A3,A4, [A6 - 0xE]
  3490. 00002530  4E5E                     unlink     A6
  3491. 00002532  4E75                     rts
  3492. fn00002534:
  3493. 00002534  4E56 FFFE                link       A6, -0x0002
  3494. 00002538  48E7 0118                movem.l    -[A7], D7,A3,A4
  3495. 0000253C  266E 000C                movea.l    A3, [A6 + 0xC]
  3496. 00002540  2E2E 0014                move.l     D7, [A6 + 0x14]
  3497. 00002544  286E 0010                movea.l    A4, [A6 + 0x10]
  3498. 00002548  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  3499. 0000254E  41EE FFFF                lea.l      A0, [A6 - 0x1]
  3500. 00002552  1010                     move.b     D0, [A0]
  3501. 00002554  A05D                     syscall    SwapMMUMode
  3502. 00002556  1080                     move.b     [A0], D0
  3503. 00002558  4A6E 000A                tst.w      [A6 + 0xA]
  3504. 0000255C  671A                     beq        +0x1C /* 00002578 */
  3505. 0000255E  0254 FFFD                andi.w     [A4], 0xFFFD
  3506. 00002562  7000                     moveq.l    D0, 0x00
  3507. 00002564  3014                     move.w     D0, [A4]
  3508. 00002566  4A80                     tst.l      D0
  3509. 00002568  4680                     not.l      D0
  3510. 0000256A  2207                     move.l     D1, D7
  3511. 0000256C  D2BC 00F2 000C           add.l      D1, 0xF2000C
  3512. 00002572  2041                     movea.l    A0, D1
  3513. 00002574  3080                     move.w     [A0], D0
  3514. 00002576  6030                     bra        +0x32 /* 000025A8 */
  3515. label00002578:
  3516. 00002578  0054 0002                ori.w      [A4], 0x2
  3517. 0000257C  7000                     moveq.l    D0, 0x00
  3518. 0000257E  3014                     move.w     D0, [A4]
  3519. 00002580  4A80                     tst.l      D0
  3520. 00002582  4680                     not.l      D0
  3521. 00002584  2207                     move.l     D1, D7
  3522. 00002586  D2BC 00F2 000C           add.l      D1, 0xF2000C
  3523. 0000258C  2041                     movea.l    A0, D1
  3524. 0000258E  3080                     move.w     [A0], D0
  3525. 00002590  0253 FFFD                andi.w     [A3], 0xFFFD
  3526. 00002594  7000                     moveq.l    D0, 0x00
  3527. 00002596  3013                     move.w     D0, [A3]
  3528. 00002598  4A80                     tst.l      D0
  3529. 0000259A  4680                     not.l      D0
  3530. 0000259C  2207                     move.l     D1, D7
  3531. 0000259E  D2BC 00F2 0058           add.l      D1, 0xF20058
  3532. 000025A4  2041                     movea.l    A0, D1
  3533. 000025A6  3080                     move.w     [A0], D0
  3534. label000025A8:
  3535. 000025A8  41EE FFFF                lea.l      A0, [A6 - 0x1]
  3536. 000025AC  1010                     move.b     D0, [A0]
  3537. 000025AE  A05D                     syscall    SwapMMUMode
  3538. 000025B0  1080                     move.b     [A0], D0
  3539. 000025B2  4CEE 1880 FFF2           movem.l    D7,A3,A4, [A6 - 0xE]
  3540. 000025B8  4E5E                     unlink     A6
  3541. 000025BA  4E75                     rts
  3542. 000025BC  4E56 FFA4                link       A6, -0x005C
  3543. 000025C0  48E7 1118                movem.l    -[A7], D3,D7,A3,A4
  3544. 000025C4  A11A                     syscall    GetZone, flags=1
  3545. 000025C6  2D48 FFFC                move.l     [A6 - 0x4], A0
  3546. 000025CA  2078 02A6                movea.l    A0, [0x000002A6 /* SysZone */]
  3547. 000025CE  A01B                     syscall    SetZone
  3548. 000025D0  7044                     moveq.l    D0, 0x44
  3549. 000025D2  A122                     syscall    NewHandle, flags=1
  3550. 000025D4  226E 0008                movea.l    A1, [A6 + 0x8]
  3551. 000025D8  2348 0014                move.l     [A1 + 0x14], A0
  3552. 000025DC  6610                     bne        +0x12 /* 000025EE */
  3553. 000025DE  206E FFFC                movea.l    A0, [A6 - 0x4]
  3554. 000025E2  A01B                     syscall    SetZone
  3555. 000025E4  3D7C FFE9 0010           move.w     [A6 + 0x10], 0xFFE9
  3556. 000025EA  6000 0160                bra        +0x162 /* 0000274C */
  3557. label000025EE:
  3558. 000025EE  206E FFFC                movea.l    A0, [A6 - 0x4]
  3559. 000025F2  A01B                     syscall    SetZone
  3560. 000025F4  206E 0008                movea.l    A0, [A6 + 0x8]
  3561. 000025F8  2068 0014                movea.l    A0, [A0 + 0x14]
  3562. 000025FC  A029                     syscall    HLock
  3563. 000025FE  206E 0008                movea.l    A0, [A6 + 0x8]
  3564. 00002602  2068 0014                movea.l    A0, [A0 + 0x14]
  3565. 00002606  2850                     movea.l    A4, [A0]
  3566. 00002608  4254                     clr.w      [A4]
  3567. 0000260A  426C 0002                clr.w      [A4 + 0x2]
  3568. 0000260E  4247                     clr.w      D7
  3569. 00002610  7610                     moveq.l    D3, 0x10
  3570. label00002612:
  3571. 00002612  48C7                     ext.l      D7
  3572. 00002614  7000                     moveq.l    D0, 0x00
  3573. 00002616  2980 7C04                move.l     [A4 + D7 * 4 + 0x4], D0
  3574. 0000261A  3007                     move.w     D0, D7
  3575. 0000261C  5247                     addq.w     D7, 1
  3576. 0000261E  B647                     cmp.w      D3, D7
  3577. 00002620  6EF0                     bgt        -0xE /* 00002612 */
  3578. 00002622  4247                     clr.w      D7
  3579. 00002624  7610                     moveq.l    D3, 0x10
  3580. label00002626:
  3581. 00002626  2007                     move.l     D0, D7
  3582. 00002628  D040                     add.w      D0, D0
  3583. 0000262A  4276 00DC                clr.w      [A6 + D0.w - 0x36]
  3584. 0000262E  3007                     move.w     D0, D7
  3585. 00002630  5247                     addq.w     D7, 1
  3586. 00002632  B647                     cmp.w      D3, D7
  3587. 00002634  6EF0                     bgt        -0xE /* 00002626 */
  3588. 00002636  422E FFD5                clr.b      [A6 - 0x2B]
  3589. 0000263A  422E FFD6                clr.b      [A6 - 0x2A]
  3590. 0000263E  422E FFD7                clr.b      [A6 - 0x29]
  3591. 00002642  422E FFD4                clr.b      [A6 - 0x2C]
  3592. 00002646  3D7C 0003 FFCC           move.w     [A6 - 0x34], 0x3
  3593. 0000264C  3D7C 0001 FFCE           move.w     [A6 - 0x32], 0x1
  3594. 00002652  3D7C 0001 FFD0           move.w     [A6 - 0x30], 0x1
  3595. 00002658  3D7C 02A0 FFD2           move.w     [A6 - 0x2E], 0x2A0
  3596. 0000265E  600E                     bra        +0x10 /* 0000266E */
  3597. label00002660:
  3598. 00002660  102E FFD5                move.b     D0, [A6 - 0x2B]
  3599. 00002664  4880                     ext.w      D0
  3600. 00002666  D040                     add.w      D0, D0
  3601. 00002668  3DAE FFCA 00DC           move.w     [A6 + D0.w - 0x36], [A6 - 0x36]
  3602. label0000266E:
  3603. 0000266E  41EE FFA4                lea.l      A0, [A6 - 0x5C]
  3604. 00002672  7015                     moveq.l    D0, 0x15
  3605. 00002674  A06E                     syscall    SlotManager
  3606. 00002676  4A40                     tst.w      D0
  3607. 00002678  67E6                     beq        -0x18 /* 00002660 */
  3608. 0000267A  4247                     clr.w      D7
  3609. label0000267C:
  3610. 0000267C  2007                     move.l     D0, D7
  3611. 0000267E  D040                     add.w      D0, D0
  3612. 00002680  4A76 00DC                tst.w      [A6 + D0.w - 0x36]
  3613. 00002684  6700 0086                beq        +0x88 /* 0000270C */
  3614. 00002688  A11A                     syscall    GetZone, flags=1
  3615. 0000268A  2D48 FFFC                move.l     [A6 - 0x4], A0
  3616. 0000268E  2078 02A6                movea.l    A0, [0x000002A6 /* SysZone */]
  3617. 00002692  A01B                     syscall    SetZone
  3618. 00002694  203C 0000 02AE           move.l     D0, 0x2AE
  3619. 0000269A  A122                     syscall    NewHandle, flags=1
  3620. 0000269C  3014                     move.w     D0, [A4]
  3621. 0000269E  48C0                     ext.l      D0
  3622. 000026A0  2988 0C04                move.l     [A4 + D0 * 4 + 0x4], A0
  3623. 000026A4  6608                     bne        +0xA /* 000026AE */
  3624. 000026A6  206E FFFC                movea.l    A0, [A6 - 0x4]
  3625. 000026AA  A01B                     syscall    SetZone
  3626. 000026AC  606A                     bra        +0x6C /* 00002718 */
  3627. label000026AE:
  3628. 000026AE  206E FFFC                movea.l    A0, [A6 - 0x4]
  3629. 000026B2  A01B                     syscall    SetZone
  3630. 000026B4  3014                     move.w     D0, [A4]
  3631. 000026B6  48C0                     ext.l      D0
  3632. 000026B8  2074 0C04                movea.l    A0, [A4 + D0 * 4 + 0x4]
  3633. 000026BC  A029                     syscall    HLock
  3634. 000026BE  3014                     move.w     D0, [A4]
  3635. 000026C0  48C0                     ext.l      D0
  3636. 000026C2  2074 0C04                movea.l    A0, [A4 + D0 * 4 + 0x4]
  3637. 000026C6  2650                     movea.l    A3, [A0]
  3638. 000026C8  3007                     move.w     D0, D7
  3639. 000026CA  807C 00F0                or.w       D0, 0xF0
  3640. 000026CE  7218                     moveq.l    D1, 0x18
  3641. 000026D0  E3A8                     lsl        D0, D1
  3642. 000026D2  2680                     move.l     [A3], D0
  3643. 000026D4  2007                     move.l     D0, D7
  3644. 000026D6  D040                     add.w      D0, D0
  3645. 000026D8  3776 00DC 0004           move.w     [A3 + 0x4], [A6 + D0.w - 0x36]
  3646. 000026DE  598F                     subq.l     A7, 4
  3647. 000026E0  3F2B 0004                move.w     -[A7], [A3 + 0x4]
  3648. 000026E4  4EBA 29E6                jsr        [PC + 0x29E6 /* 000050CC */]
  3649. 000026E8  275F 0006                move.l     [A3 + 0x6], [A7]+
  3650. 000026EC  206B 0006                movea.l    A0, [A3 + 0x6]
  3651. 000026F0  2050                     movea.l    A0, [A0]
  3652. 000026F2  2768 0014 000A           move.l     [A3 + 0xA], [A0 + 0x14]
  3653. 000026F8  426B 000E                clr.w      [A3 + 0xE]
  3654. 000026FC  426B 0010                clr.w      [A3 + 0x10]
  3655. 00002700  3014                     move.w     D0, [A4]
  3656. 00002702  48C0                     ext.l      D0
  3657. 00002704  2074 0C04                movea.l    A0, [A4 + D0 * 4 + 0x4]
  3658. 00002708  A02A                     syscall    HUnlock
  3659. 0000270A  5254                     addq.w     [A4], 1
  3660. label0000270C:
  3661. 0000270C  3007                     move.w     D0, D7
  3662. 0000270E  5247                     addq.w     D7, 1
  3663. 00002710  0C47 0010                cmpi.w     D7, 0x10
  3664. 00002714  6D00 FF66                blt        -0x98 /* 0000267C */
  3665. label00002718:
  3666. 00002718  4A54                     tst.w      [A4]
  3667. 0000271A  6F06                     ble        +0x8 /* 00002722 */
  3668. 0000271C  426C 0002                clr.w      [A4 + 0x2]
  3669. 00002720  601C                     bra        +0x1E /* 0000273E */
  3670. label00002722:
  3671. 00002722  206E 0008                movea.l    A0, [A6 + 0x8]
  3672. 00002726  2068 0014                movea.l    A0, [A0 + 0x14]
  3673. 0000272A  A02A                     syscall    HUnlock
  3674. 0000272C  206E 0008                movea.l    A0, [A6 + 0x8]
  3675. 00002730  2068 0014                movea.l    A0, [A0 + 0x14]
  3676. 00002734  A023                     syscall    DisposHandle/DisposeHandle
  3677. 00002736  3D7C FFE9 0010           move.w     [A6 + 0x10], 0xFFE9
  3678. 0000273C  600E                     bra        +0x10 /* 0000274C */
  3679. label0000273E:
  3680. 0000273E  206E 0008                movea.l    A0, [A6 + 0x8]
  3681. 00002742  2068 0014                movea.l    A0, [A0 + 0x14]
  3682. 00002746  A02A                     syscall    HUnlock
  3683. 00002748  426E 0010                clr.w      [A6 + 0x10]
  3684. label0000274C:
  3685. 0000274C  4CEE 1888 FF94           movem.l    D3,D7,A3,A4, [A6 - 0x6C]
  3686. 00002752  4E5E                     unlink     A6
  3687. 00002754  4E74 0008                rtd        0x0008
  3688. 00002758  4E56 0000                link       A6, 0
  3689. 0000275C  426E 0010                clr.w      [A6 + 0x10]
  3690. 00002760  4E5E                     unlink     A6
  3691. 00002762  4E74 0008                rtd        0x0008
  3692. 00002766  4E56 0000                link       A6, 0
  3693. 0000276A  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  3694. 0000276E  4EBA 000C                jsr        [PC + 0xC /* 0000277C */]
  3695. 00002772  426E 0010                clr.w      [A6 + 0x10]
  3696. 00002776  4E5E                     unlink     A6
  3697. 00002778  4E74 0008                rtd        0x0008
  3698. fn0000277C:
  3699. 0000277C  4E56 FFE6                link       A6, -0x001A
  3700. 00002780  48E7 0718                movem.l    -[A7], D5,D6,D7,A3,A4
  3701. 00002784  206E 0008                movea.l    A0, [A6 + 0x8]
  3702. 00002788  2050                     movea.l    A0, [A0]
  3703. 0000278A  A126                     syscall    HandleZone, flags=1
  3704. 0000278C  B1F8 02A6                cmpa.l     A0, [0x000002A6 /* SysZone */]
  3705. 00002790  6700 0134                beq        +0x136 /* 000028C6 */
  3706. 00002794  206E 0008                movea.l    A0, [A6 + 0x8]
  3707. 00002798  2068 0014                movea.l    A0, [A0 + 0x14]
  3708. 0000279C  A029                     syscall    HLock
  3709. 0000279E  206E 0008                movea.l    A0, [A6 + 0x8]
  3710. 000027A2  2068 0014                movea.l    A0, [A0 + 0x14]
  3711. 000027A6  2850                     movea.l    A4, [A0]
  3712. 000027A8  4246                     clr.w      D6
  3713. 000027AA  6000 00F6                bra        +0xF8 /* 000028A2 */
  3714. label000027AE:
  3715. 000027AE  48C6                     ext.l      D6
  3716. 000027B0  2074 6C04                movea.l    A0, [A4 + D6 * 4 + 0x4]
  3717. 000027B4  A029                     syscall    HLock
  3718. 000027B6  48C6                     ext.l      D6
  3719. 000027B8  2074 6C04                movea.l    A0, [A4 + D6 * 4 + 0x4]
  3720. 000027BC  2650                     movea.l    A3, [A0]
  3721. 000027BE  4A6B 000E                tst.w      [A3 + 0xE]
  3722. 000027C2  661E                     bne        +0x20 /* 000027E2 */
  3723. 000027C4  48C6                     ext.l      D6
  3724. 000027C6  2074 6C04                movea.l    A0, [A4 + D6 * 4 + 0x4]
  3725. 000027CA  A02A                     syscall    HUnlock
  3726. 000027CC  48C6                     ext.l      D6
  3727. 000027CE  4AB4 6C04                tst.l      [A4 + D6 * 4 + 0x4]
  3728. 000027D2  6700 00CA                beq        +0xCC /* 0000289E */
  3729. 000027D6  48C6                     ext.l      D6
  3730. 000027D8  2074 6C04                movea.l    A0, [A4 + D6 * 4 + 0x4]
  3731. 000027DC  A023                     syscall    DisposHandle/DisposeHandle
  3732. 000027DE  6000 00BE                bra        +0xC0 /* 0000289E */
  3733. label000027E2:
  3734. 000027E2  302B 0010                move.w     D0, [A3 + 0x10]
  3735. 000027E6  48C0                     ext.l      D0
  3736. 000027E8  7216                     moveq.l    D1, 0x16
  3737. 000027EA  4C01 0800                movem.w    A3, D1
  3738. 000027EE  41F3 0812                lea.l      A0, [A3 + D0 + 0x12]
  3739. 000027F2  2D48 FFE6                move.l     [A6 - 0x1A], A0
  3740. 000027F6  206E FFE6                movea.l    A0, [A6 - 0x1A]
  3741. 000027FA  2E28 0012                move.l     D7, [A0 + 0x12]
  3742. 000027FE  DE93                     add.l      D7, [A3]
  3743. 00002800  206E FFE6                movea.l    A0, [A6 - 0x1A]
  3744. 00002804  2A28 000A                move.l     D5, [A0 + 0xA]
  3745. 00002808  DA93                     add.l      D5, [A3]
  3746. 0000280A  7000                     moveq.l    D0, 0x00
  3747. 0000280C  2D40 FFF0                move.l     [A6 - 0x10], D0
  3748. 00002810  41EE FFEA                lea.l      A0, [A6 - 0x16]
  3749. 00002814  A058                     syscall    InsTime
  3750. 00002816  41EE FFEA                lea.l      A0, [A6 - 0x16]
  3751. 0000281A  203C FFFE A070           move.l     D0, 0xFFFEA070
  3752. 00002820  A05A                     syscall    PrimeTime
  3753. 00002822  6028                     bra        +0x2A /* 0000284C */
  3754. label00002824:
  3755. 00002824  7000                     moveq.l    D0, 0x00
  3756. 00002826  2F00                     move.l     -[A7], D0
  3757. 00002828  7205                     moveq.l    D1, 0x05
  3758. 0000282A  2F01                     move.l     -[A7], D1
  3759. 0000282C  700E                     moveq.l    D0, 0x0E
  3760. 0000282E  2F00                     move.l     -[A7], D0
  3761. 00002830  2F07                     move.l     -[A7], D7
  3762. 00002832  4EBA DDDE                jsr        [PC - 0x2222 /* 00000612 */]
  3763. 00002836  7000                     moveq.l    D0, 0x00
  3764. 00002838  2F00                     move.l     -[A7], D0
  3765. 0000283A  720E                     moveq.l    D1, 0x0E
  3766. 0000283C  2F01                     move.l     -[A7], D1
  3767. 0000283E  2F07                     move.l     -[A7], D7
  3768. 00002840  4EBA E2CA                jsr        [PC - 0x1D36 /* 00000B0C */]
  3769. 00002844  4A40                     tst.w      D0
  3770. 00002846  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  3771. 0000284A  6606                     bne        +0x8 /* 00002852 */
  3772. label0000284C:
  3773. 0000284C  4A6E FFEE                tst.w      [A6 - 0x12]
  3774. 00002850  6DD2                     blt        -0x2C /* 00002824 */
  3775. label00002852:
  3776. 00002852  41EE FFEA                lea.l      A0, [A6 - 0x16]
  3777. 00002856  A059                     syscall    RmvTime
  3778. 00002858  4AAE FFF4                tst.l      [A6 - 0xC]
  3779. 0000285C  6702                     beq        +0x4 /* 00002860 */
  3780. 0000285E  6026                     bra        +0x28 /* 00002886 */
  3781. label00002860:
  3782. 00002860  7000                     moveq.l    D0, 0x00
  3783. 00002862  2F00                     move.l     -[A7], D0
  3784. 00002864  7207                     moveq.l    D1, 0x07
  3785. 00002866  2F01                     move.l     -[A7], D1
  3786. 00002868  700E                     moveq.l    D0, 0x0E
  3787. 0000286A  2F00                     move.l     -[A7], D0
  3788. 0000286C  2F07                     move.l     -[A7], D7
  3789. 0000286E  4EBA DDA2                jsr        [PC - 0x225E /* 00000612 */]
  3790. 00002872  7000                     moveq.l    D0, 0x00
  3791. 00002874  2F00                     move.l     -[A7], D0
  3792. 00002876  720E                     moveq.l    D1, 0x0E
  3793. 00002878  2F01                     move.l     -[A7], D1
  3794. 0000287A  2F07                     move.l     -[A7], D7
  3795. 0000287C  4EBA E28E                jsr        [PC - 0x1D72 /* 00000B0C */]
  3796. 00002880  4A40                     tst.w      D0
  3797. 00002882  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  3798. label00002886:
  3799. 00002886  48C6                     ext.l      D6
  3800. 00002888  2074 6C04                movea.l    A0, [A4 + D6 * 4 + 0x4]
  3801. 0000288C  A02A                     syscall    HUnlock
  3802. 0000288E  48C6                     ext.l      D6
  3803. 00002890  4AB4 6C04                tst.l      [A4 + D6 * 4 + 0x4]
  3804. 00002894  6708                     beq        +0xA /* 0000289E */
  3805. 00002896  48C6                     ext.l      D6
  3806. 00002898  2074 6C04                movea.l    A0, [A4 + D6 * 4 + 0x4]
  3807. 0000289C  A023                     syscall    DisposHandle/DisposeHandle
  3808. label0000289E:
  3809. 0000289E  3006                     move.w     D0, D6
  3810. 000028A0  5246                     addq.w     D6, 1
  3811. label000028A2:
  3812. 000028A2  BC54                     cmp.w      D6, [A4]
  3813. 000028A4  6D00 FF08                blt        -0xF6 /* 000027AE */
  3814. 000028A8  206E 0008                movea.l    A0, [A6 + 0x8]
  3815. 000028AC  2068 0014                movea.l    A0, [A0 + 0x14]
  3816. 000028B0  A02A                     syscall    HUnlock
  3817. 000028B2  206E 0008                movea.l    A0, [A6 + 0x8]
  3818. 000028B6  2068 0014                movea.l    A0, [A0 + 0x14]
  3819. 000028BA  A023                     syscall    DisposHandle/DisposeHandle
  3820. 000028BC  206E 0008                movea.l    A0, [A6 + 0x8]
  3821. 000028C0  7000                     moveq.l    D0, 0x00
  3822. 000028C2  2140 0014                move.l     [A0 + 0x14], D0
  3823. label000028C6:
  3824. 000028C6  4CEE 18E0 FFD2           movem.l    D5,D6,D7,A3,A4, [A6 - 0x2E]
  3825. 000028CC  4E5E                     unlink     A6
  3826. 000028CE  4E75                     rts
  3827. 000028D0  4E56 FFB2                link       A6, -0x004E
  3828. 000028D4  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  3829. 000028D8  286E 000C                movea.l    A4, [A6 + 0xC]
  3830. 000028DC  206E 0008                movea.l    A0, [A6 + 0x8]
  3831. 000028E0  2068 0014                movea.l    A0, [A0 + 0x14]
  3832. 000028E4  A029                     syscall    HLock
  3833. 000028E6  206E 0008                movea.l    A0, [A6 + 0x8]
  3834. 000028EA  2068 0014                movea.l    A0, [A0 + 0x14]
  3835. 000028EE  2D50 FFC8                move.l     [A6 - 0x38], [A0]
  3836. 000028F2  206E FFC8                movea.l    A0, [A6 - 0x38]
  3837. 000028F6  3028 0002                move.w     D0, [A0 + 0x2]
  3838. 000028FA  48C0                     ext.l      D0
  3839. 000028FC  206E FFC8                movea.l    A0, [A6 - 0x38]
  3840. 00002900  2070 0C04                movea.l    A0, [A0 + D0 * 4 + 0x4]
  3841. 00002904  A029                     syscall    HLock
  3842. 00002906  206E FFC8                movea.l    A0, [A6 - 0x38]
  3843. 0000290A  3028 0002                move.w     D0, [A0 + 0x2]
  3844. 0000290E  48C0                     ext.l      D0
  3845. 00002910  206E FFC8                movea.l    A0, [A6 - 0x38]
  3846. 00002914  2070 0C04                movea.l    A0, [A0 + D0 * 4 + 0x4]
  3847. 00002918  2650                     movea.l    A3, [A0]
  3848. 0000291A  4A6B 000E                tst.w      [A3 + 0xE]
  3849. 0000291E  6640                     bne        +0x42 /* 00002960 */
  3850. 00002920  0C6C 2343 001A           cmpi.w     [A4 + 0x1A], 0x2343 /* '#C' */
  3851. 00002926  6738                     beq        +0x3A /* 00002960 */
  3852. 00002928  0C6C 2349 001A           cmpi.w     [A4 + 0x1A], 0x2349 /* '#I' */
  3853. 0000292E  6730                     beq        +0x32 /* 00002960 */
  3854. 00002930  0C6C 2350 001A           cmpi.w     [A4 + 0x1A], 0x2350 /* '#P' */
  3855. 00002936  6728                     beq        +0x2A /* 00002960 */
  3856. 00002938  7AEF                     moveq.l    D5, 0xFFFFFFEF
  3857. 0000293A  206E FFC8                movea.l    A0, [A6 - 0x38]
  3858. 0000293E  3028 0002                move.w     D0, [A0 + 0x2]
  3859. 00002942  48C0                     ext.l      D0
  3860. 00002944  206E FFC8                movea.l    A0, [A6 - 0x38]
  3861. 00002948  2070 0C04                movea.l    A0, [A0 + D0 * 4 + 0x4]
  3862. 0000294C  A02A                     syscall    HUnlock
  3863. 0000294E  206E 0008                movea.l    A0, [A6 + 0x8]
  3864. 00002952  2068 0014                movea.l    A0, [A0 + 0x14]
  3865. 00002956  A02A                     syscall    HUnlock
  3866. 00002958  3D45 0010                move.w     [A6 + 0x10], D5
  3867. 0000295C  6000 1C18                bra        +0x1C1A /* 00004576 */
  3868. label00002960:
  3869. 00002960  4A6B 000E                tst.w      [A3 + 0xE]
  3870. 00002964  676C                     beq        +0x6E /* 000029D2 */
  3871. 00002966  302B 0010                move.w     D0, [A3 + 0x10]
  3872. 0000296A  48C0                     ext.l      D0
  3873. 0000296C  7216                     moveq.l    D1, 0x16
  3874. 0000296E  4C01 0800                movem.w    A3, D1
  3875. 00002972  41F3 0812                lea.l      A0, [A3 + D0 + 0x12]
  3876. 00002976  2D48 FFCC                move.l     [A6 - 0x34], A0
  3877. 0000297A  206E FFCC                movea.l    A0, [A6 - 0x34]
  3878. 0000297E  2E28 0012                move.l     D7, [A0 + 0x12]
  3879. 00002982  DE93                     add.l      D7, [A3]
  3880. 00002984  206E FFCC                movea.l    A0, [A6 - 0x34]
  3881. 00002988  2028 000A                move.l     D0, [A0 + 0xA]
  3882. 0000298C  D093                     add.l      D0, [A3]
  3883. 0000298E  2D40 FFD8                move.l     [A6 - 0x28], D0
  3884. 00002992  206E FFCC                movea.l    A0, [A6 - 0x34]
  3885. 00002996  2028 000E                move.l     D0, [A0 + 0xE]
  3886. 0000299A  D093                     add.l      D0, [A3]
  3887. 0000299C  2D40 FFDC                move.l     [A6 - 0x24], D0
  3888. 000029A0  206E FFCC                movea.l    A0, [A6 - 0x34]
  3889. 000029A4  3028 0008                move.w     D0, [A0 + 0x8]
  3890. 000029A8  48C0                     ext.l      D0
  3891. 000029AA  4C3C 0800 0000           movem.w    A3, 0x0
  3892. 000029B0  0122                     btst       -[A2], D0
  3893. 000029B2  41F3 086A                lea.l      A0, [A3 + D0 + 0x6A]
  3894. 000029B6  2D48 FFD4                move.l     [A6 - 0x2C], A0
  3895. 000029BA  206E FFD4                movea.l    A0, [A6 - 0x2C]
  3896. 000029BE  3810                     move.w     D4, [A0]
  3897. 000029C0  206E FFD4                movea.l    A0, [A6 - 0x2C]
  3898. 000029C4  3D68 0002 FFE8           move.w     [A6 - 0x18], [A0 + 0x2]
  3899. 000029CA  206B 000A                movea.l    A0, [A3 + 0xA]
  3900. 000029CE  2D50 FFD0                move.l     [A6 - 0x30], [A0]
  3901. label000029D2:
  3902. 000029D2  4245                     clr.w      D5
  3903. 000029D4  302C 001A                move.w     D0, [A4 + 0x1A]
  3904. 000029D8  5240                     addq.w     D0, 1
  3905. 000029DA  6700 1B6A                beq        +0x1B6C /* 00004546 */
  3906. 000029DE  0440 2329                subi.w     D0, 0x2329 /* '#)' */
  3907. 000029E2  6700 00EC                beq        +0xEE /* 00002AD0 */
  3908. 000029E6  5340                     subq.w     D0, 1
  3909. 000029E8  6700 00F6                beq        +0xF8 /* 00002AE0 */
  3910. 000029EC  5340                     subq.w     D0, 1
  3911. 000029EE  6700 0132                beq        +0x134 /* 00002B22 */
  3912. 000029F2  5740                     subq.w     D0, 3
  3913. 000029F4  6700 0152                beq        +0x154 /* 00002B48 */
  3914. 000029F8  5340                     subq.w     D0, 1
  3915. 000029FA  6700 01AE                beq        +0x1B0 /* 00002BAA */
  3916. 000029FE  5340                     subq.w     D0, 1
  3917. 00002A00  6700 01EA                beq        +0x1EC /* 00002BEC */
  3918. 00002A04  5B40                     subq.w     D0, 5
  3919. 00002A06  6700 0226                beq        +0x228 /* 00002C2E */
  3920. 00002A0A  5740                     subq.w     D0, 3
  3921. 00002A0C  6700 0714                beq        +0x716 /* 00003122 */
  3922. 00002A10  5340                     subq.w     D0, 1
  3923. 00002A12  6700 0840                beq        +0x842 /* 00003254 */
  3924. 00002A16  5140                     subq.w     D0, 8
  3925. 00002A18  6700 089C                beq        +0x89E /* 000032B6 */
  3926. 00002A1C  5340                     subq.w     D0, 1
  3927. 00002A1E  6700 089C                beq        +0x89E /* 000032BC */
  3928. 00002A22  5340                     subq.w     D0, 1
  3929. 00002A24  6700 0988                beq        +0x98A /* 000033AE */
  3930. 00002A28  5340                     subq.w     D0, 1
  3931. 00002A2A  6700 0B92                beq        +0xB94 /* 000035BE */
  3932. 00002A2E  5340                     subq.w     D0, 1
  3933. 00002A30  6700 0B9E                beq        +0xBA0 /* 000035D0 */
  3934. 00002A34  5340                     subq.w     D0, 1
  3935. 00002A36  6700 0C76                beq        +0xC78 /* 000036AE */
  3936. 00002A3A  5740                     subq.w     D0, 3
  3937. 00002A3C  6700 0D54                beq        +0xD56 /* 00003792 */
  3938. 00002A40  5340                     subq.w     D0, 1
  3939. 00002A42  6700 0D8A                beq        +0xD8C /* 000037CE */
  3940. 00002A46  5340                     subq.w     D0, 1
  3941. 00002A48  6700 0DBC                beq        +0xDBE /* 00003806 */
  3942. 00002A4C  5340                     subq.w     D0, 1
  3943. 00002A4E  6700 0E1C                beq        +0xE1E /* 0000386C */
  3944. 00002A52  5740                     subq.w     D0, 3
  3945. 00002A54  6700 0E4A                beq        +0xE4C /* 000038A0 */
  3946. 00002A58  5540                     subq.w     D0, 2
  3947. 00002A5A  6700 10B8                beq        +0x10BA /* 00003B14 */
  3948. 00002A5E  5340                     subq.w     D0, 1
  3949. 00002A60  6700 1146                beq        +0x1148 /* 00003BA8 */
  3950. 00002A64  5340                     subq.w     D0, 1
  3951. 00002A66  6700 11A2                beq        +0x11A4 /* 00003C0A */
  3952. 00002A6A  5340                     subq.w     D0, 1
  3953. 00002A6C  6700 11A2                beq        +0x11A4 /* 00003C10 */
  3954. 00002A70  5340                     subq.w     D0, 1
  3955. 00002A72  6700 11A2                beq        +0x11A4 /* 00003C16 */
  3956. 00002A76  5540                     subq.w     D0, 2
  3957. 00002A78  6700 121C                beq        +0x121E /* 00003C96 */
  3958. 00002A7C  5340                     subq.w     D0, 1
  3959. 00002A7E  6700 1276                beq        +0x1278 /* 00003CF6 */
  3960. 00002A82  5340                     subq.w     D0, 1
  3961. 00002A84  6700 1276                beq        +0x1278 /* 00003CFC */
  3962. 00002A88  5340                     subq.w     D0, 1
  3963. 00002A8A  6700 12CC                beq        +0x12CE /* 00003D58 */
  3964. 00002A8E  5340                     subq.w     D0, 1
  3965. 00002A90  6700 130E                beq        +0x1310 /* 00003DA0 */
  3966. 00002A94  5540                     subq.w     D0, 2
  3967. 00002A96  6700 1346                beq        +0x1348 /* 00003DDE */
  3968. 00002A9A  5340                     subq.w     D0, 1
  3969. 00002A9C  6700 1398                beq        +0x139A /* 00003E36 */
  3970. 00002AA0  5340                     subq.w     D0, 1
  3971. 00002AA2  6700 13D0                beq        +0x13D2 /* 00003E74 */
  3972. 00002AA6  5340                     subq.w     D0, 1
  3973. 00002AA8  6700 1426                beq        +0x1428 /* 00003ED0 */
  3974. 00002AAC  5340                     subq.w     D0, 1
  3975. 00002AAE  6700 147C                beq        +0x147E /* 00003F2C */
  3976. 00002AB2  5940                     subq.w     D0, 4
  3977. 00002AB4  6700 14CE                beq        +0x14D0 /* 00003F84 */
  3978. 00002AB8  0440 000A                subi.w     D0, 0xA /* '\n' */
  3979. 00002ABC  6700 14CC                beq        +0x14CE /* 00003F8A */
  3980. 00002AC0  5340                     subq.w     D0, 1
  3981. 00002AC2  6700 155A                beq        +0x155C /* 0000401E */
  3982. 00002AC6  5340                     subq.w     D0, 1
  3983. 00002AC8  6700 160A                beq        +0x160C /* 000040D4 */
  3984. 00002ACC  6000 1A84                bra        +0x1A86 /* 00004552 */
  3985. label00002AD0:
  3986. 00002AD0  2F2C 001C                move.l     -[A7], [A4 + 0x1C]
  3987. 00002AD4  2F0B                     move.l     -[A7], A3
  3988. 00002AD6  4EBA D7E4                jsr        [PC - 0x281C /* 000002BC */]
  3989. 00002ADA  504F                     addq.w     A7, 8
  3990. 00002ADC  6000 1A76                bra        +0x1A78 /* 00004554 */
  3991. label00002AE0:
  3992. 00002AE0  7010                     moveq.l    D0, 0x10
  3993. 00002AE2  2F00                     move.l     -[A7], D0
  3994. 00002AE4  7201                     moveq.l    D1, 0x01
  3995. 00002AE6  2F01                     move.l     -[A7], D1
  3996. 00002AE8  342C 001C                move.w     D2, [A4 + 0x1C]
  3997. 00002AEC  48C2                     ext.l      D2
  3998. 00002AEE  2F02                     move.l     -[A7], D2
  3999. 00002AF0  4EBA DAFA                jsr        [PC - 0x2506 /* 000005EC */]
  4000. 00002AF4  4A40                     tst.w      D0
  4001. 00002AF6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4002. 00002AFA  671E                     beq        +0x20 /* 00002B1A */
  4003. 00002AFC  2F0B                     move.l     -[A7], A3
  4004. 00002AFE  302C 001E                move.w     D0, [A4 + 0x1E]
  4005. 00002B02  48C0                     ext.l      D0
  4006. 00002B04  2F00                     move.l     -[A7], D0
  4007. 00002B06  302C 001C                move.w     D0, [A4 + 0x1C]
  4008. 00002B0A  48C0                     ext.l      D0
  4009. 00002B0C  2F00                     move.l     -[A7], D0
  4010. 00002B0E  4EBA D8D4                jsr        [PC - 0x272C /* 000003E4 */]
  4011. 00002B12  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4012. 00002B16  6000 1A3C                bra        +0x1A3E /* 00004554 */
  4013. label00002B1A:
  4014. 00002B1A  3A3C E0BF                move.w     D5, 0xE0BF
  4015. 00002B1E  6000 1A34                bra        +0x1A36 /* 00004554 */
  4016. label00002B22:
  4017. 00002B22  2F0B                     move.l     -[A7], A3
  4018. 00002B24  302C 0020                move.w     D0, [A4 + 0x20]
  4019. 00002B28  48C0                     ext.l      D0
  4020. 00002B2A  2F00                     move.l     -[A7], D0
  4021. 00002B2C  302C 001E                move.w     D0, [A4 + 0x1E]
  4022. 00002B30  48C0                     ext.l      D0
  4023. 00002B32  2F00                     move.l     -[A7], D0
  4024. 00002B34  302C 001C                move.w     D0, [A4 + 0x1C]
  4025. 00002B38  48C0                     ext.l      D0
  4026. 00002B3A  2F00                     move.l     -[A7], D0
  4027. 00002B3C  4EBA D9E0                jsr        [PC - 0x2620 /* 0000051E */]
  4028. 00002B40  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4029. 00002B44  6000 1A0E                bra        +0x1A10 /* 00004554 */
  4030. label00002B48:
  4031. 00002B48  7007                     moveq.l    D0, 0x07
  4032. 00002B4A  2F00                     move.l     -[A7], D0
  4033. 00002B4C  7200                     moveq.l    D1, 0x00
  4034. 00002B4E  2F01                     move.l     -[A7], D1
  4035. 00002B50  342C 001C                move.w     D2, [A4 + 0x1C]
  4036. 00002B54  48C2                     ext.l      D2
  4037. 00002B56  2F02                     move.l     -[A7], D2
  4038. 00002B58  4EBA DA92                jsr        [PC - 0x256E /* 000005EC */]
  4039. 00002B5C  4A40                     tst.w      D0
  4040. 00002B5E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4041. 00002B62  6608                     bne        +0xA /* 00002B6C */
  4042. 00002B64  3A3C E0C0                move.w     D5, 0xE0C0
  4043. 00002B68  6000 19EA                bra        +0x19EC /* 00004554 */
  4044. label00002B6C:
  4045. 00002B6C  2F0B                     move.l     -[A7], A3
  4046. 00002B6E  4EBA DAF4                jsr        [PC - 0x250C /* 00000664 */]
  4047. 00002B72  3D40 FFE6                move.w     [A6 - 0x1A], D0
  4048. 00002B76  2F0B                     move.l     -[A7], A3
  4049. 00002B78  302C 001C                move.w     D0, [A4 + 0x1C]
  4050. 00002B7C  48C0                     ext.l      D0
  4051. 00002B7E  2F00                     move.l     -[A7], D0
  4052. 00002B80  4EBA DC0E                jsr        [PC - 0x23F2 /* 00000790 */]
  4053. 00002B84  4A6E FFE6                tst.w      [A6 - 0x1A]
  4054. 00002B88  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4055. 00002B8C  6700 19C6                beq        +0x19C8 /* 00004554 */
  4056. 00002B90  7001                     moveq.l    D0, 0x01
  4057. 00002B92  2F00                     move.l     -[A7], D0
  4058. 00002B94  7205                     moveq.l    D1, 0x05
  4059. 00002B96  2F01                     move.l     -[A7], D1
  4060. 00002B98  700E                     moveq.l    D0, 0x0E
  4061. 00002B9A  2F00                     move.l     -[A7], D0
  4062. 00002B9C  2F07                     move.l     -[A7], D7
  4063. 00002B9E  4EBA DA72                jsr        [PC - 0x258E /* 00000612 */]
  4064. 00002BA2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4065. 00002BA6  6000 19AC                bra        +0x19AE /* 00004554 */
  4066. label00002BAA:
  4067. 00002BAA  4878 00FF                push.l     0xFF
  4068. 00002BAE  7000                     moveq.l    D0, 0x00
  4069. 00002BB0  2F00                     move.l     -[A7], D0
  4070. 00002BB2  322C 001C                move.w     D1, [A4 + 0x1C]
  4071. 00002BB6  48C1                     ext.l      D1
  4072. 00002BB8  2F01                     move.l     -[A7], D1
  4073. 00002BBA  4EBA DA30                jsr        [PC - 0x25D0 /* 000005EC */]
  4074. 00002BBE  4A40                     tst.w      D0
  4075. 00002BC0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4076. 00002BC4  6608                     bne        +0xA /* 00002BCE */
  4077. 00002BC6  3A3C E0BD                move.w     D5, 0xE0BD
  4078. 00002BCA  6000 1988                bra        +0x198A /* 00004554 */
  4079. label00002BCE:
  4080. 00002BCE  2F0B                     move.l     -[A7], A3
  4081. 00002BD0  302C 001C                move.w     D0, [A4 + 0x1C]
  4082. 00002BD4  48C0                     ext.l      D0
  4083. 00002BD6  2F00                     move.l     -[A7], D0
  4084. 00002BD8  7007                     moveq.l    D0, 0x07
  4085. 00002BDA  2F00                     move.l     -[A7], D0
  4086. 00002BDC  48C4                     ext.l      D4
  4087. 00002BDE  2F04                     move.l     -[A7], D4
  4088. 00002BE0  4EBA E828                jsr        [PC - 0x17D8 /* 0000140A */]
  4089. 00002BE4  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4090. 00002BE8  6000 196A                bra        +0x196C /* 00004554 */
  4091. label00002BEC:
  4092. 00002BEC  4878 00FF                push.l     0xFF
  4093. 00002BF0  7000                     moveq.l    D0, 0x00
  4094. 00002BF2  2F00                     move.l     -[A7], D0
  4095. 00002BF4  322C 001C                move.w     D1, [A4 + 0x1C]
  4096. 00002BF8  48C1                     ext.l      D1
  4097. 00002BFA  2F01                     move.l     -[A7], D1
  4098. 00002BFC  4EBA D9EE                jsr        [PC - 0x2612 /* 000005EC */]
  4099. 00002C00  4A40                     tst.w      D0
  4100. 00002C02  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4101. 00002C06  6608                     bne        +0xA /* 00002C10 */
  4102. 00002C08  3A3C E0BC                move.w     D5, 0xE0BC
  4103. 00002C0C  6000 1946                bra        +0x1948 /* 00004554 */
  4104. label00002C10:
  4105. 00002C10  2F0B                     move.l     -[A7], A3
  4106. 00002C12  302C 001C                move.w     D0, [A4 + 0x1C]
  4107. 00002C16  48C0                     ext.l      D0
  4108. 00002C18  2F00                     move.l     -[A7], D0
  4109. 00002C1A  7011                     moveq.l    D0, 0x11
  4110. 00002C1C  2F00                     move.l     -[A7], D0
  4111. 00002C1E  48C4                     ext.l      D4
  4112. 00002C20  2F04                     move.l     -[A7], D4
  4113. 00002C22  4EBA E7E6                jsr        [PC - 0x181A /* 0000140A */]
  4114. 00002C26  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4115. 00002C2A  6000 1928                bra        +0x192A /* 00004554 */
  4116. label00002C2E:
  4117. 00002C2E  3C2C 0022                move.w     D6, [A4 + 0x22]
  4118. 00002C32  9C6C 001E                sub.w      D6, [A4 + 0x1E]
  4119. 00002C36  302C 0020                move.w     D0, [A4 + 0x20]
  4120. 00002C3A  906C 001C                sub.w      D0, [A4 + 0x1C]
  4121. 00002C3E  3D40 FFC0                move.w     [A6 - 0x40], D0
  4122. 00002C42  206E FFCC                movea.l    A0, [A6 - 0x34]
  4123. 00002C46  3028 0006                move.w     D0, [A0 + 0x6]
  4124. 00002C4A  48C0                     ext.l      D0
  4125. 00002C4C  D080                     add.l      D0, D0
  4126. 00002C4E  2F00                     move.l     -[A7], D0
  4127. 00002C50  206E FFCC                movea.l    A0, [A6 - 0x34]
  4128. 00002C54  3028 0004                move.w     D0, [A0 + 0x4]
  4129. 00002C58  48C0                     ext.l      D0
  4130. 00002C5A  D080                     add.l      D0, D0
  4131. 00002C5C  2F00                     move.l     -[A7], D0
  4132. 00002C5E  302C 001C                move.w     D0, [A4 + 0x1C]
  4133. 00002C62  48C0                     ext.l      D0
  4134. 00002C64  2F00                     move.l     -[A7], D0
  4135. 00002C66  4EBA D984                jsr        [PC - 0x267C /* 000005EC */]
  4136. 00002C6A  4A40                     tst.w      D0
  4137. 00002C6C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4138. 00002C70  6700 008A                beq        +0x8C /* 00002CFC */
  4139. 00002C74  206E FFCC                movea.l    A0, [A6 - 0x34]
  4140. 00002C78  3028 0006                move.w     D0, [A0 + 0x6]
  4141. 00002C7C  48C0                     ext.l      D0
  4142. 00002C7E  D080                     add.l      D0, D0
  4143. 00002C80  2F00                     move.l     -[A7], D0
  4144. 00002C82  206E FFCC                movea.l    A0, [A6 - 0x34]
  4145. 00002C86  3028 0004                move.w     D0, [A0 + 0x4]
  4146. 00002C8A  48C0                     ext.l      D0
  4147. 00002C8C  D080                     add.l      D0, D0
  4148. 00002C8E  2F00                     move.l     -[A7], D0
  4149. 00002C90  302C 0020                move.w     D0, [A4 + 0x20]
  4150. 00002C94  48C0                     ext.l      D0
  4151. 00002C96  5580                     subq.l     D0, 2
  4152. 00002C98  2F00                     move.l     -[A7], D0
  4153. 00002C9A  4EBA D950                jsr        [PC - 0x26B0 /* 000005EC */]
  4154. 00002C9E  4A40                     tst.w      D0
  4155. 00002CA0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4156. 00002CA4  6756                     beq        +0x58 /* 00002CFC */
  4157. 00002CA6  206E FFCC                movea.l    A0, [A6 - 0x34]
  4158. 00002CAA  3028 0002                move.w     D0, [A0 + 0x2]
  4159. 00002CAE  48C0                     ext.l      D0
  4160. 00002CB0  2F00                     move.l     -[A7], D0
  4161. 00002CB2  206E FFCC                movea.l    A0, [A6 - 0x34]
  4162. 00002CB6  3010                     move.w     D0, [A0]
  4163. 00002CB8  48C0                     ext.l      D0
  4164. 00002CBA  2F00                     move.l     -[A7], D0
  4165. 00002CBC  302C 001E                move.w     D0, [A4 + 0x1E]
  4166. 00002CC0  48C0                     ext.l      D0
  4167. 00002CC2  2F00                     move.l     -[A7], D0
  4168. 00002CC4  4EBA D926                jsr        [PC - 0x26DA /* 000005EC */]
  4169. 00002CC8  4A40                     tst.w      D0
  4170. 00002CCA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4171. 00002CCE  672C                     beq        +0x2E /* 00002CFC */
  4172. 00002CD0  206E FFCC                movea.l    A0, [A6 - 0x34]
  4173. 00002CD4  3028 0002                move.w     D0, [A0 + 0x2]
  4174. 00002CD8  48C0                     ext.l      D0
  4175. 00002CDA  2F00                     move.l     -[A7], D0
  4176. 00002CDC  206E FFCC                movea.l    A0, [A6 - 0x34]
  4177. 00002CE0  3010                     move.w     D0, [A0]
  4178. 00002CE2  48C0                     ext.l      D0
  4179. 00002CE4  2F00                     move.l     -[A7], D0
  4180. 00002CE6  302C 0022                move.w     D0, [A4 + 0x22]
  4181. 00002CEA  48C0                     ext.l      D0
  4182. 00002CEC  5380                     subq.l     D0, 1
  4183. 00002CEE  2F00                     move.l     -[A7], D0
  4184. 00002CF0  4EBA D8FA                jsr        [PC - 0x2706 /* 000005EC */]
  4185. 00002CF4  4A40                     tst.w      D0
  4186. 00002CF6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4187. 00002CFA  6608                     bne        +0xA /* 00002D04 */
  4188. label00002CFC:
  4189. 00002CFC  3A3C E0B7                move.w     D5, 0xE0B7
  4190. 00002D00  6000 1852                bra        +0x1854 /* 00004554 */
  4191. label00002D04:
  4192. 00002D04  48C6                     ext.l      D6
  4193. 00002D06  2F06                     move.l     -[A7], D6
  4194. 00002D08  7000                     moveq.l    D0, 0x00
  4195. 00002D0A  2F00                     move.l     -[A7], D0
  4196. 00002D0C  322C 0024                move.w     D1, [A4 + 0x24]
  4197. 00002D10  48C1                     ext.l      D1
  4198. 00002D12  2F01                     move.l     -[A7], D1
  4199. 00002D14  4EBA D8D6                jsr        [PC - 0x272A /* 000005EC */]
  4200. 00002D18  4A40                     tst.w      D0
  4201. 00002D1A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4202. 00002D1E  6708                     beq        +0xA /* 00002D28 */
  4203. 00002D20  0C6C 0240 0024           cmpi.w     [A4 + 0x24], 0x240
  4204. 00002D26  6F08                     ble        +0xA /* 00002D30 */
  4205. label00002D28:
  4206. 00002D28  3A3C E0B6                move.w     D5, 0xE0B6
  4207. 00002D2C  6000 1826                bra        +0x1828 /* 00004554 */
  4208. label00002D30:
  4209. 00002D30  302E FFC0                move.w     D0, [A6 - 0x40]
  4210. 00002D34  48C0                     ext.l      D0
  4211. 00002D36  2F00                     move.l     -[A7], D0
  4212. 00002D38  7000                     moveq.l    D0, 0x00
  4213. 00002D3A  2F00                     move.l     -[A7], D0
  4214. 00002D3C  322C 0026                move.w     D1, [A4 + 0x26]
  4215. 00002D40  48C1                     ext.l      D1
  4216. 00002D42  2F01                     move.l     -[A7], D1
  4217. 00002D44  4EBA D8A6                jsr        [PC - 0x275A /* 000005EC */]
  4218. 00002D48  4A40                     tst.w      D0
  4219. 00002D4A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4220. 00002D4E  6708                     beq        +0xA /* 00002D58 */
  4221. 00002D50  0C6C 01B0 0026           cmpi.w     [A4 + 0x26], 0x1B0
  4222. 00002D56  6F08                     ble        +0xA /* 00002D60 */
  4223. label00002D58:
  4224. 00002D58  3A3C E0B5                move.w     D5, 0xE0B5
  4225. 00002D5C  6000 17F6                bra        +0x17F8 /* 00004554 */
  4226. label00002D60:
  4227. 00002D60  302E FFC0                move.w     D0, [A6 - 0x40]
  4228. 00002D64  48C0                     ext.l      D0
  4229. 00002D66  81EC 0026                divs.w     D0, [A4 + 0x26]
  4230. 00002D6A  0C40 01B0                cmpi.w     D0, 0x1B0
  4231. 00002D6E  6F08                     ble        +0xA /* 00002D78 */
  4232. 00002D70  3A3C E0B5                move.w     D5, 0xE0B5
  4233. 00002D74  6000 17DE                bra        +0x17E0 /* 00004554 */
  4234. label00002D78:
  4235. 00002D78  7001                     moveq.l    D0, 0x01
  4236. 00002D7A  C06C 001C                and.w      D0, [A4 + 0x1C]
  4237. 00002D7E  7200                     moveq.l    D1, 0x00
  4238. 00002D80  3200                     move.w     D1, D0
  4239. 00002D82  4A81                     tst.l      D1
  4240. 00002D84  660E                     bne        +0x10 /* 00002D94 */
  4241. 00002D86  7001                     moveq.l    D0, 0x01
  4242. 00002D88  C06C 0020                and.w      D0, [A4 + 0x20]
  4243. 00002D8C  7200                     moveq.l    D1, 0x00
  4244. 00002D8E  3200                     move.w     D1, D0
  4245. 00002D90  4A81                     tst.l      D1
  4246. 00002D92  6708                     beq        +0xA /* 00002D9C */
  4247. label00002D94:
  4248. 00002D94  3A3C E0B3                move.w     D5, 0xE0B3
  4249. 00002D98  6000 17BA                bra        +0x17BC /* 00004554 */
  4250. label00002D9C:
  4251. 00002D9C  4A6C 0028                tst.w      [A4 + 0x28]
  4252. 00002DA0  6718                     beq        +0x1A /* 00002DBA */
  4253. 00002DA2  7001                     moveq.l    D0, 0x01
  4254. 00002DA4  B06C 0028                cmp.w      D0, [A4 + 0x28]
  4255. 00002DA8  6710                     beq        +0x12 /* 00002DBA */
  4256. 00002DAA  7002                     moveq.l    D0, 0x02
  4257. 00002DAC  B06C 0028                cmp.w      D0, [A4 + 0x28]
  4258. 00002DB0  6708                     beq        +0xA /* 00002DBA */
  4259. 00002DB2  3A3C E0B2                move.w     D5, 0xE0B2
  4260. 00002DB6  6000 179C                bra        +0x179E /* 00004554 */
  4261. label00002DBA:
  4262. 00002DBA  3006                     move.w     D0, D6
  4263. 00002DBC  48C0                     ext.l      D0
  4264. 00002DBE  81EC 0024                divs.w     D0, [A4 + 0x24]
  4265. 00002DC2  3D40 FFC2                move.w     [A6 - 0x3E], D0
  4266. 00002DC6  3006                     move.w     D0, D6
  4267. 00002DC8  48C0                     ext.l      D0
  4268. 00002DCA  81EC 0024                divs.w     D0, [A4 + 0x24]
  4269. 00002DCE  4840                     swap.w     D0
  4270. 00002DD0  4A40                     tst.w      D0
  4271. 00002DD2  6704                     beq        +0x6 /* 00002DD8 */
  4272. 00002DD4  526E FFC2                addq.w     [A6 - 0x3E], 1
  4273. label00002DD8:
  4274. 00002DD8  7008                     moveq.l    D0, 0x08
  4275. 00002DDA  B06E FFC2                cmp.w      D0, [A6 - 0x3E]
  4276. 00002DDE  6C08                     bge        +0xA /* 00002DE8 */
  4277. 00002DE0  3A3C E0B6                move.w     D5, 0xE0B6
  4278. 00002DE4  6000 176E                bra        +0x1770 /* 00004554 */
  4279. label00002DE8:
  4280. 00002DE8  302E FFC0                move.w     D0, [A6 - 0x40]
  4281. 00002DEC  48C0                     ext.l      D0
  4282. 00002DEE  81EC 0026                divs.w     D0, [A4 + 0x26]
  4283. 00002DF2  3C00                     move.w     D6, D0
  4284. 00002DF4  302E FFC0                move.w     D0, [A6 - 0x40]
  4285. 00002DF8  48C0                     ext.l      D0
  4286. 00002DFA  81EC 0026                divs.w     D0, [A4 + 0x26]
  4287. 00002DFE  4840                     swap.w     D0
  4288. 00002E00  4A40                     tst.w      D0
  4289. 00002E02  6702                     beq        +0x4 /* 00002E06 */
  4290. 00002E04  5246                     addq.w     D6, 1
  4291. label00002E06:
  4292. 00002E06  0C46 0001                cmpi.w     D6, 0x1
  4293. 00002E0A  6708                     beq        +0xA /* 00002E14 */
  4294. 00002E0C  7001                     moveq.l    D0, 0x01
  4295. 00002E0E  C046                     and.w      D0, D6
  4296. 00002E10  6702                     beq        +0x4 /* 00002E14 */
  4297. 00002E12  5246                     addq.w     D6, 1
  4298. label00002E14:
  4299. 00002E14  0C46 0008                cmpi.w     D6, 0x8
  4300. 00002E18  6F08                     ble        +0xA /* 00002E22 */
  4301. 00002E1A  3A3C E0B5                move.w     D5, 0xE0B5
  4302. 00002E1E  6000 1734                bra        +0x1736 /* 00004554 */
  4303. label00002E22:
  4304. 00002E22  2F0B                     move.l     -[A7], A3
  4305. 00002E24  4EBA D83E                jsr        [PC - 0x27C2 /* 00000664 */]
  4306. 00002E28  3D40 FFE6                move.w     [A6 - 0x1A], D0
  4307. 00002E2C  7003                     moveq.l    D0, 0x03
  4308. 00002E2E  2F00                     move.l     -[A7], D0
  4309. 00002E30  7208                     moveq.l    D1, 0x08
  4310. 00002E32  2F01                     move.l     -[A7], D1
  4311. 00002E34  2F07                     move.l     -[A7], D7
  4312. 00002E36  4EBA D280                jsr        [PC - 0x2D80 /* 000000B8 */]
  4313. 00002E3A  2D40 FFE2                move.l     [A6 - 0x1E], D0
  4314. 00002E3E  202E FFE2                move.l     D0, [A6 - 0x1E]
  4315. 00002E42  4C7C 0801 0000 0240      movem.l    D0,A3, 0x240
  4316. 00002E4A  3D41 FFC4                move.w     [A6 - 0x3C], D1
  4317. 00002E4E  202E FFE2                move.l     D0, [A6 - 0x1E]
  4318. 00002E52  4C7C 0800 0000 0240      movem.l    A3, 0x240
  4319. 00002E5A  3D40 FFC6                move.w     [A6 - 0x3A], D0
  4320. 00002E5E  7006                     moveq.l    D0, 0x06
  4321. 00002E60  2F00                     move.l     -[A7], D0
  4322. 00002E62  720F                     moveq.l    D1, 0x0F
  4323. 00002E64  2F01                     move.l     -[A7], D1
  4324. 00002E66  2F07                     move.l     -[A7], D7
  4325. 00002E68  4EBA DCA2                jsr        [PC - 0x235E /* 00000B0C */]
  4326. 00002E6C  4A40                     tst.w      D0
  4327. 00002E6E  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  4328. 00002E72  660E                     bne        +0x10 /* 00002E82 */
  4329. 00002E74  2F07                     move.l     -[A7], D7
  4330. 00002E76  4EBA DD78                jsr        [PC - 0x2288 /* 00000BF0 */]
  4331. 00002E7A  5340                     subq.w     D0, 1
  4332. 00002E7C  916E FFC4                sub.w      [A6 - 0x3C], D0
  4333. 00002E80  584F                     addq.w     A7, 4
  4334. label00002E82:
  4335. 00002E82  7007                     moveq.l    D0, 0x07
  4336. 00002E84  2F00                     move.l     -[A7], D0
  4337. 00002E86  720F                     moveq.l    D1, 0x0F
  4338. 00002E88  2F01                     move.l     -[A7], D1
  4339. 00002E8A  2F07                     move.l     -[A7], D7
  4340. 00002E8C  4EBA DC7E                jsr        [PC - 0x2382 /* 00000B0C */]
  4341. 00002E90  4A40                     tst.w      D0
  4342. 00002E92  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4343. 00002E96  660E                     bne        +0x10 /* 00002EA6 */
  4344. 00002E98  2F07                     move.l     -[A7], D7
  4345. 00002E9A  4EBA DCBC                jsr        [PC - 0x2344 /* 00000B58 */]
  4346. 00002E9E  5340                     subq.w     D0, 1
  4347. 00002EA0  D16E FFC6                add.w      [A6 - 0x3A], D0
  4348. 00002EA4  584F                     addq.w     A7, 4
  4349. label00002EA6:
  4350. 00002EA6  7001                     moveq.l    D0, 0x01
  4351. 00002EA8  B06C 0028                cmp.w      D0, [A4 + 0x28]
  4352. 00002EAC  6618                     bne        +0x1A /* 00002EC6 */
  4353. 00002EAE  7000                     moveq.l    D0, 0x00
  4354. 00002EB0  2F00                     move.l     -[A7], D0
  4355. 00002EB2  7201                     moveq.l    D1, 0x01
  4356. 00002EB4  2F01                     move.l     -[A7], D1
  4357. 00002EB6  700E                     moveq.l    D0, 0x0E
  4358. 00002EB8  2F00                     move.l     -[A7], D0
  4359. 00002EBA  2F07                     move.l     -[A7], D7
  4360. 00002EBC  4EBA D754                jsr        [PC - 0x28AC /* 00000612 */]
  4361. 00002EC0  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4362. 00002EC4  6014                     bra        +0x16 /* 00002EDA */
  4363. label00002EC6:
  4364. 00002EC6  7001                     moveq.l    D0, 0x01
  4365. 00002EC8  2F00                     move.l     -[A7], D0
  4366. 00002ECA  2F00                     move.l     -[A7], D0
  4367. 00002ECC  720E                     moveq.l    D1, 0x0E
  4368. 00002ECE  2F01                     move.l     -[A7], D1
  4369. 00002ED0  2F07                     move.l     -[A7], D7
  4370. 00002ED2  4EBA D73E                jsr        [PC - 0x28C2 /* 00000612 */]
  4371. 00002ED6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4372. label00002EDA:
  4373. 00002EDA  7002                     moveq.l    D0, 0x02
  4374. 00002EDC  2F00                     move.l     -[A7], D0
  4375. 00002EDE  322C 001E                move.w     D1, [A4 + 0x1E]
  4376. 00002EE2  48C1                     ext.l      D1
  4377. 00002EE4  2F01                     move.l     -[A7], D1
  4378. 00002EE6  7200                     moveq.l    D1, 0x00
  4379. 00002EE8  2F01                     move.l     -[A7], D1
  4380. 00002EEA  2F07                     move.l     -[A7], D7
  4381. 00002EEC  4EBA D172                jsr        [PC - 0x2E8E /* 00000060 */]
  4382. 00002EF0  7002                     moveq.l    D0, 0x02
  4383. 00002EF2  2F00                     move.l     -[A7], D0
  4384. 00002EF4  322C 0022                move.w     D1, [A4 + 0x22]
  4385. 00002EF8  48C1                     ext.l      D1
  4386. 00002EFA  342C 001E                move.w     D2, [A4 + 0x1E]
  4387. 00002EFE  48C2                     ext.l      D2
  4388. 00002F00  9282                     sub.l      D1, D2
  4389. 00002F02  243C 0000 0400           move.l     D2, 0x400
  4390. 00002F08  9481                     sub.l      D2, D1
  4391. 00002F0A  2F02                     move.l     -[A7], D2
  4392. 00002F0C  2F00                     move.l     -[A7], D0
  4393. 00002F0E  2F07                     move.l     -[A7], D7
  4394. 00002F10  4EBA D14E                jsr        [PC - 0x2EB2 /* 00000060 */]
  4395. 00002F14  7002                     moveq.l    D0, 0x02
  4396. 00002F16  2F00                     move.l     -[A7], D0
  4397. 00002F18  322C 001C                move.w     D1, [A4 + 0x1C]
  4398. 00002F1C  48C1                     ext.l      D1
  4399. 00002F1E  2F01                     move.l     -[A7], D1
  4400. 00002F20  7204                     moveq.l    D1, 0x04
  4401. 00002F22  2F01                     move.l     -[A7], D1
  4402. 00002F24  2F07                     move.l     -[A7], D7
  4403. 00002F26  4EBA D138                jsr        [PC - 0x2EC8 /* 00000060 */]
  4404. 00002F2A  7002                     moveq.l    D0, 0x02
  4405. 00002F2C  2F00                     move.l     -[A7], D0
  4406. 00002F2E  322C 0020                move.w     D1, [A4 + 0x20]
  4407. 00002F32  48C1                     ext.l      D1
  4408. 00002F34  342C 001C                move.w     D2, [A4 + 0x1C]
  4409. 00002F38  48C2                     ext.l      D2
  4410. 00002F3A  9282                     sub.l      D1, D2
  4411. 00002F3C  4C7C 1801 0000 0002      movem.l    D0,A3,A4, 0x2
  4412. 00002F44  243C 0000 0400           move.l     D2, 0x400
  4413. 00002F4A  9481                     sub.l      D2, D1
  4414. 00002F4C  2F02                     move.l     -[A7], D2
  4415. 00002F4E  7206                     moveq.l    D1, 0x06
  4416. 00002F50  2F01                     move.l     -[A7], D1
  4417. 00002F52  2F07                     move.l     -[A7], D7
  4418. 00002F54  4EBA D10A                jsr        [PC - 0x2EF6 /* 00000060 */]
  4419. 00002F58  3006                     move.w     D0, D6
  4420. 00002F5A  5340                     subq.w     D0, 1
  4421. 00002F5C  4FEF 0040                lea.l      A7, [A7 + 0x40]
  4422. 00002F60  6B32                     bmi        +0x34 /* 00002F94 */
  4423. 00002F62  0C40 0007                cmpi.w     D0, 0x7
  4424. 00002F66  6E2C                     bgt        +0x2E /* 00002F94 */
  4425. 00002F68  D040                     add.w      D0, D0
  4426. 00002F6A  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  4427. 00002F6E  4EFB 0000                jmp        [PC + D0.w]
  4428. 00002F72  0012 0016                ori.b      [A2], 0x16
  4429. 00002F76  0024 001A                ori.b      -[A4], 0x1A
  4430. 00002F7A  0024 001E                ori.b      -[A4], 0x1E
  4431. 00002F7E  0024 0022                ori.b      -[A4], 0x22 /* '\"' */
  4432. 00002F82  7C0B                     moveq.l    D6, 0x0B
  4433. 00002F84  600E                     bra        +0x10 /* 00002F94 */
  4434. 00002F86  7C03                     moveq.l    D6, 0x03
  4435. 00002F88  600A                     bra        +0xC /* 00002F94 */
  4436. 00002F8A  7C02                     moveq.l    D6, 0x02
  4437. 00002F8C  6006                     bra        +0x8 /* 00002F94 */
  4438. 00002F8E  7C01                     moveq.l    D6, 0x01
  4439. 00002F90  6002                     bra        +0x4 /* 00002F94 */
  4440. 00002F92  4246                     clr.w      D6
  4441. label00002F94:
  4442. 00002F94  7001                     moveq.l    D0, 0x01
  4443. 00002F96  2F00                     move.l     -[A7], D0
  4444. 00002F98  48C6                     ext.l      D6
  4445. 00002F9A  2206                     move.l     D1, D6
  4446. 00002F9C  E989                     lsl        D1, 4
  4447. 00002F9E  342E FFC2                move.w     D2, [A6 - 0x3E]
  4448. 00002FA2  48C2                     ext.l      D2
  4449. 00002FA4  7608                     moveq.l    D3, 0x08
  4450. 00002FA6  9682                     sub.l      D3, D2
  4451. 00002FA8  8681                     or.l       D3, D1
  4452. 00002FAA  2F03                     move.l     -[A7], D3
  4453. 00002FAC  720D                     moveq.l    D1, 0x0D
  4454. 00002FAE  2F01                     move.l     -[A7], D1
  4455. 00002FB0  2F07                     move.l     -[A7], D7
  4456. 00002FB2  4EBA D0AC                jsr        [PC - 0x2F54 /* 00000060 */]
  4457. 00002FB6  7006                     moveq.l    D0, 0x06
  4458. 00002FB8  2F00                     move.l     -[A7], D0
  4459. 00002FBA  720F                     moveq.l    D1, 0x0F
  4460. 00002FBC  2F01                     move.l     -[A7], D1
  4461. 00002FBE  2F07                     move.l     -[A7], D7
  4462. 00002FC0  4EBA DB4A                jsr        [PC - 0x24B6 /* 00000B0C */]
  4463. 00002FC4  4A40                     tst.w      D0
  4464. 00002FC6  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  4465. 00002FCA  660E                     bne        +0x10 /* 00002FDA */
  4466. 00002FCC  2F07                     move.l     -[A7], D7
  4467. 00002FCE  4EBA DC20                jsr        [PC - 0x23E0 /* 00000BF0 */]
  4468. 00002FD2  5340                     subq.w     D0, 1
  4469. 00002FD4  D16E FFC4                add.w      [A6 - 0x3C], D0
  4470. 00002FD8  584F                     addq.w     A7, 4
  4471. label00002FDA:
  4472. 00002FDA  7007                     moveq.l    D0, 0x07
  4473. 00002FDC  2F00                     move.l     -[A7], D0
  4474. 00002FDE  720F                     moveq.l    D1, 0x0F
  4475. 00002FE0  2F01                     move.l     -[A7], D1
  4476. 00002FE2  2F07                     move.l     -[A7], D7
  4477. 00002FE4  4EBA DB26                jsr        [PC - 0x24DA /* 00000B0C */]
  4478. 00002FE8  4A40                     tst.w      D0
  4479. 00002FEA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4480. 00002FEE  660C                     bne        +0xE /* 00002FFC */
  4481. 00002FF0  2F07                     move.l     -[A7], D7
  4482. 00002FF2  4EBA DB64                jsr        [PC - 0x249C /* 00000B58 */]
  4483. 00002FF6  916E FFC6                sub.w      [A6 - 0x3A], D0
  4484. 00002FFA  584F                     addq.w     A7, 4
  4485. label00002FFC:
  4486. 00002FFC  7003                     moveq.l    D0, 0x03
  4487. 00002FFE  2F00                     move.l     -[A7], D0
  4488. 00003000  322E FFC6                move.w     D1, [A6 - 0x3A]
  4489. 00003004  48C1                     ext.l      D1
  4490. 00003006  4C3C 1800 0000           movem.w    A3,A4, 0x0
  4491. 0000300C  0240 342E                andi.w     D0, 0x342E /* '4.' */
  4492. 00003010  FFC4                     .invalid   <<F/7/7>>
  4493. 00003012  48C2                     ext.l      D2
  4494. 00003014  D481                     add.l      D2, D1
  4495. 00003016  2F02                     move.l     -[A7], D2
  4496. 00003018  7208                     moveq.l    D1, 0x08
  4497. 0000301A  2F01                     move.l     -[A7], D1
  4498. 0000301C  2F07                     move.l     -[A7], D7
  4499. 0000301E  4EBA D040                jsr        [PC - 0x2FC0 /* 00000060 */]
  4500. 00003022  2F07                     move.l     -[A7], D7
  4501. 00003024  4EBA DBCA                jsr        [PC - 0x2436 /* 00000BF0 */]
  4502. 00003028  3C00                     move.w     D6, D0
  4503. 0000302A  0C46 00C8                cmpi.w     D6, 0xC8
  4504. 0000302E  4FEF 0014                lea.l      A7, [A7 + 0x14]
  4505. 00003032  6E06                     bgt        +0x8 /* 0000303A */
  4506. 00003034  7C18                     moveq.l    D6, 0x18
  4507. 00003036  6000 009E                bra        +0xA0 /* 000030D6 */
  4508. label0000303A:
  4509. 0000303A  0C46 012C                cmpi.w     D6, 0x12C
  4510. 0000303E  6E06                     bgt        +0x8 /* 00003046 */
  4511. 00003040  7C18                     moveq.l    D6, 0x18
  4512. 00003042  6000 0092                bra        +0x94 /* 000030D6 */
  4513. label00003046:
  4514. 00003046  0C46 015E                cmpi.w     D6, 0x15E
  4515. 0000304A  6E06                     bgt        +0x8 /* 00003052 */
  4516. 0000304C  7C18                     moveq.l    D6, 0x18
  4517. 0000304E  6000 0086                bra        +0x88 /* 000030D6 */
  4518. label00003052:
  4519. 00003052  0C46 0190                cmpi.w     D6, 0x190
  4520. 00003056  6E04                     bgt        +0x6 /* 0000305C */
  4521. 00003058  7C18                     moveq.l    D6, 0x18
  4522. 0000305A  607A                     bra        +0x7C /* 000030D6 */
  4523. label0000305C:
  4524. 0000305C  0C46 01C2                cmpi.w     D6, 0x1C2
  4525. 00003060  6E04                     bgt        +0x6 /* 00003066 */
  4526. 00003062  7C18                     moveq.l    D6, 0x18
  4527. 00003064  6070                     bra        +0x72 /* 000030D6 */
  4528. label00003066:
  4529. 00003066  0C46 01F4                cmpi.w     D6, 0x1F4
  4530. 0000306A  6E04                     bgt        +0x6 /* 00003070 */
  4531. 0000306C  7C18                     moveq.l    D6, 0x18
  4532. 0000306E  6066                     bra        +0x68 /* 000030D6 */
  4533. label00003070:
  4534. 00003070  0C46 0226                cmpi.w     D6, 0x226
  4535. 00003074  6E04                     bgt        +0x6 /* 0000307A */
  4536. 00003076  7C18                     moveq.l    D6, 0x18
  4537. 00003078  605C                     bra        +0x5E /* 000030D6 */
  4538. label0000307A:
  4539. 0000307A  0C46 0230                cmpi.w     D6, 0x230
  4540. 0000307E  6E04                     bgt        +0x6 /* 00003084 */
  4541. 00003080  7C18                     moveq.l    D6, 0x18
  4542. 00003082  6052                     bra        +0x54 /* 000030D6 */
  4543. label00003084:
  4544. 00003084  0C46 023A                cmpi.w     D6, 0x23A
  4545. 00003088  6E04                     bgt        +0x6 /* 0000308E */
  4546. 0000308A  7C18                     moveq.l    D6, 0x18
  4547. 0000308C  6048                     bra        +0x4A /* 000030D6 */
  4548. label0000308E:
  4549. 0000308E  0C46 0244                cmpi.w     D6, 0x244
  4550. 00003092  6E04                     bgt        +0x6 /* 00003098 */
  4551. 00003094  7C18                     moveq.l    D6, 0x18
  4552. 00003096  603E                     bra        +0x40 /* 000030D6 */
  4553. label00003098:
  4554. 00003098  0C46 024E                cmpi.w     D6, 0x24E
  4555. 0000309C  6E04                     bgt        +0x6 /* 000030A2 */
  4556. 0000309E  7C18                     moveq.l    D6, 0x18
  4557. 000030A0  6034                     bra        +0x36 /* 000030D6 */
  4558. label000030A2:
  4559. 000030A2  0C46 0258                cmpi.w     D6, 0x258
  4560. 000030A6  6E04                     bgt        +0x6 /* 000030AC */
  4561. 000030A8  7C18                     moveq.l    D6, 0x18
  4562. 000030AA  602A                     bra        +0x2C /* 000030D6 */
  4563. label000030AC:
  4564. 000030AC  0C46 0262                cmpi.w     D6, 0x262
  4565. 000030B0  6E04                     bgt        +0x6 /* 000030B6 */
  4566. 000030B2  7C18                     moveq.l    D6, 0x18
  4567. 000030B4  6020                     bra        +0x22 /* 000030D6 */
  4568. label000030B6:
  4569. 000030B6  0C46 026C                cmpi.w     D6, 0x26C
  4570. 000030BA  6E04                     bgt        +0x6 /* 000030C0 */
  4571. 000030BC  7C18                     moveq.l    D6, 0x18
  4572. 000030BE  6016                     bra        +0x18 /* 000030D6 */
  4573. label000030C0:
  4574. 000030C0  0C46 0276                cmpi.w     D6, 0x276
  4575. 000030C4  6E04                     bgt        +0x6 /* 000030CA */
  4576. 000030C6  7C18                     moveq.l    D6, 0x18
  4577. 000030C8  600C                     bra        +0xE /* 000030D6 */
  4578. label000030CA:
  4579. 000030CA  0C46 0280                cmpi.w     D6, 0x280
  4580. 000030CE  6E04                     bgt        +0x6 /* 000030D4 */
  4581. 000030D0  7C18                     moveq.l    D6, 0x18
  4582. 000030D2  6002                     bra        +0x4 /* 000030D6 */
  4583. label000030D4:
  4584. 000030D4  7C18                     moveq.l    D6, 0x18
  4585. label000030D6:
  4586. 000030D6  7001                     moveq.l    D0, 0x01
  4587. 000030D8  2F00                     move.l     -[A7], D0
  4588. 000030DA  720F                     moveq.l    D1, 0x0F
  4589. 000030DC  2F01                     move.l     -[A7], D1
  4590. 000030DE  2F07                     move.l     -[A7], D7
  4591. 000030E0  4EBA CFD6                jsr        [PC - 0x302A /* 000000B8 */]
  4592. 000030E4  72C0                     moveq.l    D1, 0xFFFFFFC0
  4593. 000030E6  C280                     and.l      D1, D0
  4594. 000030E8  8C41                     or.w       D6, D1
  4595. 000030EA  7001                     moveq.l    D0, 0x01
  4596. 000030EC  2F00                     move.l     -[A7], D0
  4597. 000030EE  48C6                     ext.l      D6
  4598. 000030F0  2F06                     move.l     -[A7], D6
  4599. 000030F2  720F                     moveq.l    D1, 0x0F
  4600. 000030F4  2F01                     move.l     -[A7], D1
  4601. 000030F6  2F07                     move.l     -[A7], D7
  4602. 000030F8  4EBA CF66                jsr        [PC - 0x309A /* 00000060 */]
  4603. 000030FC  4A6E FFE6                tst.w      [A6 - 0x1A]
  4604. 00003100  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  4605. 00003104  6700 144E                beq        +0x1450 /* 00004554 */
  4606. 00003108  7001                     moveq.l    D0, 0x01
  4607. 0000310A  2F00                     move.l     -[A7], D0
  4608. 0000310C  7205                     moveq.l    D1, 0x05
  4609. 0000310E  2F01                     move.l     -[A7], D1
  4610. 00003110  700E                     moveq.l    D0, 0x0E
  4611. 00003112  2F00                     move.l     -[A7], D0
  4612. 00003114  2F07                     move.l     -[A7], D7
  4613. 00003116  4EBA D4FA                jsr        [PC - 0x2B06 /* 00000612 */]
  4614. 0000311A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4615. 0000311E  6000 1434                bra        +0x1436 /* 00004554 */
  4616. label00003122:
  4617. 00003122  4878 0240                push.l     0x240
  4618. 00003126  7000                     moveq.l    D0, 0x00
  4619. 00003128  2F00                     move.l     -[A7], D0
  4620. 0000312A  322C 001E                move.w     D1, [A4 + 0x1E]
  4621. 0000312E  48C1                     ext.l      D1
  4622. 00003130  2F01                     move.l     -[A7], D1
  4623. 00003132  4EBA D4B8                jsr        [PC - 0x2B48 /* 000005EC */]
  4624. 00003136  4A40                     tst.w      D0
  4625. 00003138  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4626. 0000313C  672C                     beq        +0x2E /* 0000316A */
  4627. 0000313E  206E FFD0                movea.l    A0, [A6 - 0x30]
  4628. 00003142  203C 0004 0000           move.l     D0, 0x40000
  4629. 00003148  4C68 0000 035C           movem.l    <none>, [A0 + 0x35C]
  4630. 0000314E  48C0                     ext.l      D0
  4631. 00003150  2F00                     move.l     -[A7], D0
  4632. 00003152  7000                     moveq.l    D0, 0x00
  4633. 00003154  2F00                     move.l     -[A7], D0
  4634. 00003156  322C 001C                move.w     D1, [A4 + 0x1C]
  4635. 0000315A  48C1                     ext.l      D1
  4636. 0000315C  2F01                     move.l     -[A7], D1
  4637. 0000315E  4EBA D48C                jsr        [PC - 0x2B74 /* 000005EC */]
  4638. 00003162  4A40                     tst.w      D0
  4639. 00003164  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4640. 00003168  6608                     bne        +0xA /* 00003172 */
  4641. label0000316A:
  4642. 0000316A  3A3C E0B1                move.w     D5, 0xE0B1
  4643. 0000316E  6000 13E4                bra        +0x13E6 /* 00004554 */
  4644. label00003172:
  4645. 00003172  7001                     moveq.l    D0, 0x01
  4646. 00003174  C06C 001C                and.w      D0, [A4 + 0x1C]
  4647. 00003178  7200                     moveq.l    D1, 0x00
  4648. 0000317A  3200                     move.w     D1, D0
  4649. 0000317C  4A81                     tst.l      D1
  4650. 0000317E  6708                     beq        +0xA /* 00003188 */
  4651. 00003180  3A3C E0B0                move.w     D5, 0xE0B0
  4652. 00003184  6000 13CE                bra        +0x13D0 /* 00004554 */
  4653. label00003188:
  4654. 00003188  2F0B                     move.l     -[A7], A3
  4655. 0000318A  4EBA D4D8                jsr        [PC - 0x2B28 /* 00000664 */]
  4656. 0000318E  3D40 FFE6                move.w     [A6 - 0x1A], D0
  4657. 00003192  7006                     moveq.l    D0, 0x06
  4658. 00003194  2F00                     move.l     -[A7], D0
  4659. 00003196  720F                     moveq.l    D1, 0x0F
  4660. 00003198  2F01                     move.l     -[A7], D1
  4661. 0000319A  2F07                     move.l     -[A7], D7
  4662. 0000319C  4EBA D96E                jsr        [PC - 0x2692 /* 00000B0C */]
  4663. 000031A0  4A40                     tst.w      D0
  4664. 000031A2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4665. 000031A6  6622                     bne        +0x24 /* 000031CA */
  4666. 000031A8  302C 001E                move.w     D0, [A4 + 0x1E]
  4667. 000031AC  48C0                     ext.l      D0
  4668. 000031AE  2D40 FFBA                move.l     [A6 - 0x46], D0
  4669. 000031B2  2F07                     move.l     -[A7], D7
  4670. 000031B4  4EBA DA3A                jsr        [PC - 0x25C6 /* 00000BF0 */]
  4671. 000031B8  48C0                     ext.l      D0
  4672. 000031BA  222E FFBA                move.l     D1, [A6 - 0x46]
  4673. 000031BE  D081                     add.l      D0, D1
  4674. 000031C0  5340                     subq.w     D0, 1
  4675. 000031C2  3D40 FFC4                move.w     [A6 - 0x3C], D0
  4676. 000031C6  584F                     addq.w     A7, 4
  4677. 000031C8  6006                     bra        +0x8 /* 000031D0 */
  4678. label000031CA:
  4679. 000031CA  3D6C 001E FFC4           move.w     [A6 - 0x3C], [A4 + 0x1E]
  4680. label000031D0:
  4681. 000031D0  7007                     moveq.l    D0, 0x07
  4682. 000031D2  2F00                     move.l     -[A7], D0
  4683. 000031D4  720F                     moveq.l    D1, 0x0F
  4684. 000031D6  2F01                     move.l     -[A7], D1
  4685. 000031D8  2F07                     move.l     -[A7], D7
  4686. 000031DA  4EBA D930                jsr        [PC - 0x26D0 /* 00000B0C */]
  4687. 000031DE  4A40                     tst.w      D0
  4688. 000031E0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4689. 000031E4  6622                     bne        +0x24 /* 00003208 */
  4690. 000031E6  302C 001C                move.w     D0, [A4 + 0x1C]
  4691. 000031EA  48C0                     ext.l      D0
  4692. 000031EC  2D40 FFB6                move.l     [A6 - 0x4A], D0
  4693. 000031F0  2F07                     move.l     -[A7], D7
  4694. 000031F2  4EBA D964                jsr        [PC - 0x269C /* 00000B58 */]
  4695. 000031F6  48C0                     ext.l      D0
  4696. 000031F8  222E FFB6                move.l     D1, [A6 - 0x4A]
  4697. 000031FC  D081                     add.l      D0, D1
  4698. 000031FE  5340                     subq.w     D0, 1
  4699. 00003200  3D40 FFC6                move.w     [A6 - 0x3A], D0
  4700. 00003204  584F                     addq.w     A7, 4
  4701. 00003206  6006                     bra        +0x8 /* 0000320E */
  4702. label00003208:
  4703. 00003208  3D6C 001C FFC6           move.w     [A6 - 0x3A], [A4 + 0x1C]
  4704. label0000320E:
  4705. 0000320E  7003                     moveq.l    D0, 0x03
  4706. 00003210  2F00                     move.l     -[A7], D0
  4707. 00003212  323C 0240                move.w     D1, 0x240
  4708. 00003216  C3EE FFC6                muls.w     D1, [A6 - 0x3A]
  4709. 0000321A  342E FFC4                move.w     D2, [A6 - 0x3C]
  4710. 0000321E  48C2                     ext.l      D2
  4711. 00003220  D481                     add.l      D2, D1
  4712. 00003222  2F02                     move.l     -[A7], D2
  4713. 00003224  7208                     moveq.l    D1, 0x08
  4714. 00003226  2F01                     move.l     -[A7], D1
  4715. 00003228  2F07                     move.l     -[A7], D7
  4716. 0000322A  4EBA CE34                jsr        [PC - 0x31CC /* 00000060 */]
  4717. 0000322E  4A6E FFE6                tst.w      [A6 - 0x1A]
  4718. 00003232  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4719. 00003236  6700 131C                beq        +0x131E /* 00004554 */
  4720. 0000323A  7001                     moveq.l    D0, 0x01
  4721. 0000323C  2F00                     move.l     -[A7], D0
  4722. 0000323E  7205                     moveq.l    D1, 0x05
  4723. 00003240  2F01                     move.l     -[A7], D1
  4724. 00003242  700E                     moveq.l    D0, 0x0E
  4725. 00003244  2F00                     move.l     -[A7], D0
  4726. 00003246  2F07                     move.l     -[A7], D7
  4727. 00003248  4EBA D3C8                jsr        [PC - 0x2C38 /* 00000612 */]
  4728. 0000324C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4729. 00003250  6000 1302                bra        +0x1304 /* 00004554 */
  4730. label00003254:
  4731. 00003254  703F                     moveq.l    D0, 0x3F
  4732. 00003256  2F00                     move.l     -[A7], D0
  4733. 00003258  7200                     moveq.l    D1, 0x00
  4734. 0000325A  2F01                     move.l     -[A7], D1
  4735. 0000325C  342C 001C                move.w     D2, [A4 + 0x1C]
  4736. 00003260  48C2                     ext.l      D2
  4737. 00003262  2F02                     move.l     -[A7], D2
  4738. 00003264  4EBA D386                jsr        [PC - 0x2C7A /* 000005EC */]
  4739. 00003268  4A40                     tst.w      D0
  4740. 0000326A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4741. 0000326E  673E                     beq        +0x40 /* 000032AE */
  4742. 00003270  7001                     moveq.l    D0, 0x01
  4743. 00003272  2F00                     move.l     -[A7], D0
  4744. 00003274  322C 001C                move.w     D1, [A4 + 0x1C]
  4745. 00003278  48C1                     ext.l      D1
  4746. 0000327A  2D41 FFB2                move.l     [A6 - 0x4E], D1
  4747. 0000327E  7001                     moveq.l    D0, 0x01
  4748. 00003280  2F00                     move.l     -[A7], D0
  4749. 00003282  720F                     moveq.l    D1, 0x0F
  4750. 00003284  2F01                     move.l     -[A7], D1
  4751. 00003286  2F07                     move.l     -[A7], D7
  4752. 00003288  4EBA CE2E                jsr        [PC - 0x31D2 /* 000000B8 */]
  4753. 0000328C  72C0                     moveq.l    D1, 0xFFFFFFC0
  4754. 0000328E  C280                     and.l      D1, D0
  4755. 00003290  202E FFB2                move.l     D0, [A6 - 0x4E]
  4756. 00003294  8280                     or.l       D1, D0
  4757. 00003296  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4758. 0000329A  2F01                     move.l     -[A7], D1
  4759. 0000329C  700F                     moveq.l    D0, 0x0F
  4760. 0000329E  2F00                     move.l     -[A7], D0
  4761. 000032A0  2F07                     move.l     -[A7], D7
  4762. 000032A2  4EBA CDBC                jsr        [PC - 0x3244 /* 00000060 */]
  4763. 000032A6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4764. 000032AA  6000 12A8                bra        +0x12AA /* 00004554 */
  4765. label000032AE:
  4766. 000032AE  3A3C E0AF                move.w     D5, 0xE0AF
  4767. 000032B2  6000 12A0                bra        +0x12A2 /* 00004554 */
  4768. label000032B6:
  4769. 000032B6  7AEF                     moveq.l    D5, 0xFFFFFFEF
  4770. 000032B8  6000 129A                bra        +0x129C /* 00004554 */
  4771. label000032BC:
  4772. 000032BC  7001                     moveq.l    D0, 0x01
  4773. 000032BE  2F00                     move.l     -[A7], D0
  4774. 000032C0  7207                     moveq.l    D1, 0x07
  4775. 000032C2  2F01                     move.l     -[A7], D1
  4776. 000032C4  700E                     moveq.l    D0, 0x0E
  4777. 000032C6  2F00                     move.l     -[A7], D0
  4778. 000032C8  2F07                     move.l     -[A7], D7
  4779. 000032CA  4EBA D346                jsr        [PC - 0x2CBA /* 00000612 */]
  4780. 000032CE  7001                     moveq.l    D0, 0x01
  4781. 000032D0  2F00                     move.l     -[A7], D0
  4782. 000032D2  7001                     moveq.l    D0, 0x01
  4783. 000032D4  2F00                     move.l     -[A7], D0
  4784. 000032D6  7200                     moveq.l    D1, 0x00
  4785. 000032D8  2F01                     move.l     -[A7], D1
  4786. 000032DA  2F2E FFD8                move.l     -[A7], [A6 - 0x28]
  4787. 000032DE  4EBA CEAA                jsr        [PC - 0x3156 /* 0000018A */]
  4788. 000032E2  80BC 0000 0004           or.l       D0, 0x4
  4789. 000032E8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4790. 000032EC  2F00                     move.l     -[A7], D0
  4791. 000032EE  7000                     moveq.l    D0, 0x00
  4792. 000032F0  2F00                     move.l     -[A7], D0
  4793. 000032F2  2F2E FFD8                move.l     -[A7], [A6 - 0x28]
  4794. 000032F6  4EBA CE1E                jsr        [PC - 0x31E2 /* 00000116 */]
  4795. 000032FA  7000                     moveq.l    D0, 0x00
  4796. 000032FC  2F00                     move.l     -[A7], D0
  4797. 000032FE  7204                     moveq.l    D1, 0x04
  4798. 00003300  2F01                     move.l     -[A7], D1
  4799. 00003302  700E                     moveq.l    D0, 0x0E
  4800. 00003304  2F00                     move.l     -[A7], D0
  4801. 00003306  2F07                     move.l     -[A7], D7
  4802. 00003308  4EBA D308                jsr        [PC - 0x2CF8 /* 00000612 */]
  4803. 0000330C  302C 001C                move.w     D0, [A4 + 0x1C]
  4804. 00003310  48C0                     ext.l      D0
  4805. 00003312  2F00                     move.l     -[A7], D0
  4806. 00003314  7005                     moveq.l    D0, 0x05
  4807. 00003316  2F00                     move.l     -[A7], D0
  4808. 00003318  720E                     moveq.l    D1, 0x0E
  4809. 0000331A  2F01                     move.l     -[A7], D1
  4810. 0000331C  2F07                     move.l     -[A7], D7
  4811. 0000331E  4EBA D2F2                jsr        [PC - 0x2D0E /* 00000612 */]
  4812. 00003322  4A6C 001C                tst.w      [A4 + 0x1C]
  4813. 00003326  4FEF 0040                lea.l      A7, [A7 + 0x40]
  4814. 0000332A  6600 1228                bne        +0x122A /* 00004554 */
  4815. 0000332E  4A6C 001E                tst.w      [A4 + 0x1E]
  4816. 00003332  6700 1220                beq        +0x1222 /* 00004554 */
  4817. 00003336  7000                     moveq.l    D0, 0x00
  4818. 00003338  2D40 FFF0                move.l     [A6 - 0x10], D0
  4819. 0000333C  41EE FFEA                lea.l      A0, [A6 - 0x16]
  4820. 00003340  A058                     syscall    InsTime
  4821. 00003342  41EE FFEA                lea.l      A0, [A6 - 0x16]
  4822. 00003346  203C FFFE A070           move.l     D0, 0xFFFEA070
  4823. 0000334C  A05A                     syscall    PrimeTime
  4824. 0000334E  6016                     bra        +0x18 /* 00003366 */
  4825. label00003350:
  4826. 00003350  7000                     moveq.l    D0, 0x00
  4827. 00003352  2F00                     move.l     -[A7], D0
  4828. 00003354  720E                     moveq.l    D1, 0x0E
  4829. 00003356  2F01                     move.l     -[A7], D1
  4830. 00003358  2F07                     move.l     -[A7], D7
  4831. 0000335A  4EBA D7B0                jsr        [PC - 0x2850 /* 00000B0C */]
  4832. 0000335E  4A40                     tst.w      D0
  4833. 00003360  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4834. 00003364  6606                     bne        +0x8 /* 0000336C */
  4835. label00003366:
  4836. 00003366  4A6E FFEE                tst.w      [A6 - 0x12]
  4837. 0000336A  6DE4                     blt        -0x1A /* 00003350 */
  4838. label0000336C:
  4839. 0000336C  41EE FFEA                lea.l      A0, [A6 - 0x16]
  4840. 00003370  A059                     syscall    RmvTime
  4841. 00003372  4AAE FFF4                tst.l      [A6 - 0xC]
  4842. 00003376  661A                     bne        +0x1C /* 00003392 */
  4843. 00003378  7000                     moveq.l    D0, 0x00
  4844. 0000337A  2F00                     move.l     -[A7], D0
  4845. 0000337C  7207                     moveq.l    D1, 0x07
  4846. 0000337E  2F01                     move.l     -[A7], D1
  4847. 00003380  700E                     moveq.l    D0, 0x0E
  4848. 00003382  2F00                     move.l     -[A7], D0
  4849. 00003384  2F07                     move.l     -[A7], D7
  4850. 00003386  4EBA D28A                jsr        [PC - 0x2D76 /* 00000612 */]
  4851. 0000338A  3A3C E0AE                move.w     D5, 0xE0AE
  4852. 0000338E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4853. label00003392:
  4854. 00003392  7000                     moveq.l    D0, 0x00
  4855. 00003394  2F00                     move.l     -[A7], D0
  4856. 00003396  720E                     moveq.l    D1, 0x0E
  4857. 00003398  2F01                     move.l     -[A7], D1
  4858. 0000339A  2F07                     move.l     -[A7], D7
  4859. 0000339C  4EBA D76E                jsr        [PC - 0x2892 /* 00000B0C */]
  4860. 000033A0  4A40                     tst.w      D0
  4861. 000033A2  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4862. 000033A6  6700 11AC                beq        +0x11AE /* 00004554 */
  4863. 000033AA  6000 11A8                bra        +0x11AA /* 00004554 */
  4864. label000033AE:
  4865. 000033AE  7001                     moveq.l    D0, 0x01
  4866. 000033B0  2F00                     move.l     -[A7], D0
  4867. 000033B2  7207                     moveq.l    D1, 0x07
  4868. 000033B4  2F01                     move.l     -[A7], D1
  4869. 000033B6  700E                     moveq.l    D0, 0x0E
  4870. 000033B8  2F00                     move.l     -[A7], D0
  4871. 000033BA  2F07                     move.l     -[A7], D7
  4872. 000033BC  4EBA D254                jsr        [PC - 0x2DAC /* 00000612 */]
  4873. 000033C0  7001                     moveq.l    D0, 0x01
  4874. 000033C2  2F00                     move.l     -[A7], D0
  4875. 000033C4  7001                     moveq.l    D0, 0x01
  4876. 000033C6  2F00                     move.l     -[A7], D0
  4877. 000033C8  7200                     moveq.l    D1, 0x00
  4878. 000033CA  2F01                     move.l     -[A7], D1
  4879. 000033CC  2F2E FFD8                move.l     -[A7], [A6 - 0x28]
  4880. 000033D0  4EBA CDB8                jsr        [PC - 0x3248 /* 0000018A */]
  4881. 000033D4  80BC 0000 0004           or.l       D0, 0x4
  4882. 000033DA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4883. 000033DE  2F00                     move.l     -[A7], D0
  4884. 000033E0  7000                     moveq.l    D0, 0x00
  4885. 000033E2  2F00                     move.l     -[A7], D0
  4886. 000033E4  2F2E FFD8                move.l     -[A7], [A6 - 0x28]
  4887. 000033E8  4EBA CD2C                jsr        [PC - 0x32D4 /* 00000116 */]
  4888. 000033EC  7000                     moveq.l    D0, 0x00
  4889. 000033EE  2F00                     move.l     -[A7], D0
  4890. 000033F0  7205                     moveq.l    D1, 0x05
  4891. 000033F2  2F01                     move.l     -[A7], D1
  4892. 000033F4  700E                     moveq.l    D0, 0x0E
  4893. 000033F6  2F00                     move.l     -[A7], D0
  4894. 000033F8  2F07                     move.l     -[A7], D7
  4895. 000033FA  4EBA D216                jsr        [PC - 0x2DEA /* 00000612 */]
  4896. 000033FE  7002                     moveq.l    D0, 0x02
  4897. 00003400  B06C 001C                cmp.w      D0, [A4 + 0x1C]
  4898. 00003404  4FEF 0030                lea.l      A7, [A7 + 0x30]
  4899. 00003408  667A                     bne        +0x7C /* 00003484 */
  4900. 0000340A  7000                     moveq.l    D0, 0x00
  4901. 0000340C  2D40 FFF0                move.l     [A6 - 0x10], D0
  4902. 00003410  41EE FFEA                lea.l      A0, [A6 - 0x16]
  4903. 00003414  A058                     syscall    InsTime
  4904. 00003416  41EE FFEA                lea.l      A0, [A6 - 0x16]
  4905. 0000341A  203C FFFE A070           move.l     D0, 0xFFFEA070
  4906. 00003420  A05A                     syscall    PrimeTime
  4907. 00003422  6016                     bra        +0x18 /* 0000343A */
  4908. label00003424:
  4909. 00003424  7000                     moveq.l    D0, 0x00
  4910. 00003426  2F00                     move.l     -[A7], D0
  4911. 00003428  720E                     moveq.l    D1, 0x0E
  4912. 0000342A  2F01                     move.l     -[A7], D1
  4913. 0000342C  2F07                     move.l     -[A7], D7
  4914. 0000342E  4EBA D6DC                jsr        [PC - 0x2924 /* 00000B0C */]
  4915. 00003432  4A40                     tst.w      D0
  4916. 00003434  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4917. 00003438  6606                     bne        +0x8 /* 00003440 */
  4918. label0000343A:
  4919. 0000343A  4A6E FFEE                tst.w      [A6 - 0x12]
  4920. 0000343E  6DE4                     blt        -0x1A /* 00003424 */
  4921. label00003440:
  4922. 00003440  41EE FFEA                lea.l      A0, [A6 - 0x16]
  4923. 00003444  A059                     syscall    RmvTime
  4924. 00003446  4AAE FFF4                tst.l      [A6 - 0xC]
  4925. 0000344A  661E                     bne        +0x20 /* 0000346A */
  4926. 0000344C  7001                     moveq.l    D0, 0x01
  4927. 0000344E  2F00                     move.l     -[A7], D0
  4928. 00003450  7207                     moveq.l    D1, 0x07
  4929. 00003452  2F01                     move.l     -[A7], D1
  4930. 00003454  700E                     moveq.l    D0, 0x0E
  4931. 00003456  2F00                     move.l     -[A7], D0
  4932. 00003458  2F07                     move.l     -[A7], D7
  4933. 0000345A  4EBA D1B6                jsr        [PC - 0x2E4A /* 00000612 */]
  4934. 0000345E  3A3C E0AE                move.w     D5, 0xE0AE
  4935. 00003462  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4936. 00003466  6000 013A                bra        +0x13C /* 000035A2 */
  4937. label0000346A:
  4938. 0000346A  7001                     moveq.l    D0, 0x01
  4939. 0000346C  2F00                     move.l     -[A7], D0
  4940. 0000346E  7204                     moveq.l    D1, 0x04
  4941. 00003470  2F01                     move.l     -[A7], D1
  4942. 00003472  700E                     moveq.l    D0, 0x0E
  4943. 00003474  2F00                     move.l     -[A7], D0
  4944. 00003476  2F07                     move.l     -[A7], D7
  4945. 00003478  4EBA D198                jsr        [PC - 0x2E68 /* 00000612 */]
  4946. 0000347C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4947. 00003480  6000 0120                bra        +0x122 /* 000035A2 */
  4948. label00003484:
  4949. 00003484  7001                     moveq.l    D0, 0x01
  4950. 00003486  B06C 001C                cmp.w      D0, [A4 + 0x1C]
  4951. 0000348A  6600 00D8                bne        +0xDA /* 00003564 */
  4952. 0000348E  7000                     moveq.l    D0, 0x00
  4953. 00003490  2F00                     move.l     -[A7], D0
  4954. 00003492  720E                     moveq.l    D1, 0x0E
  4955. 00003494  2F01                     move.l     -[A7], D1
  4956. 00003496  2F07                     move.l     -[A7], D7
  4957. 00003498  4EBA D672                jsr        [PC - 0x298E /* 00000B0C */]
  4958. 0000349C  4A40                     tst.w      D0
  4959. 0000349E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4960. 000034A2  673E                     beq        +0x40 /* 000034E2 */
  4961. 000034A4  7001                     moveq.l    D0, 0x01
  4962. 000034A6  2F00                     move.l     -[A7], D0
  4963. 000034A8  7204                     moveq.l    D1, 0x04
  4964. 000034AA  2F01                     move.l     -[A7], D1
  4965. 000034AC  700E                     moveq.l    D0, 0x0E
  4966. 000034AE  2F00                     move.l     -[A7], D0
  4967. 000034B0  2F07                     move.l     -[A7], D7
  4968. 000034B2  4EBA D15E                jsr        [PC - 0x2EA2 /* 00000612 */]
  4969. 000034B6  7001                     moveq.l    D0, 0x01
  4970. 000034B8  2F00                     move.l     -[A7], D0
  4971. 000034BA  7205                     moveq.l    D1, 0x05
  4972. 000034BC  2F01                     move.l     -[A7], D1
  4973. 000034BE  700E                     moveq.l    D0, 0x0E
  4974. 000034C0  2F00                     move.l     -[A7], D0
  4975. 000034C2  2F07                     move.l     -[A7], D7
  4976. 000034C4  4EBA D14C                jsr        [PC - 0x2EB4 /* 00000612 */]
  4977. 000034C8  7000                     moveq.l    D0, 0x00
  4978. 000034CA  2F00                     move.l     -[A7], D0
  4979. 000034CC  720E                     moveq.l    D1, 0x0E
  4980. 000034CE  2F01                     move.l     -[A7], D1
  4981. 000034D0  2F07                     move.l     -[A7], D7
  4982. 000034D2  4EBA D638                jsr        [PC - 0x29C8 /* 00000B0C */]
  4983. 000034D6  4A40                     tst.w      D0
  4984. 000034D8  4FEF 002C                lea.l      A7, [A7 + 0x2C]
  4985. 000034DC  6704                     beq        +0x6 /* 000034E2 */
  4986. 000034DE  3A3C E094                move.w     D5, 0xE094
  4987. label000034E2:
  4988. 000034E2  7000                     moveq.l    D0, 0x00
  4989. 000034E4  2D40 FFF0                move.l     [A6 - 0x10], D0
  4990. 000034E8  41EE FFEA                lea.l      A0, [A6 - 0x16]
  4991. 000034EC  A058                     syscall    InsTime
  4992. 000034EE  41EE FFEA                lea.l      A0, [A6 - 0x16]
  4993. 000034F2  203C FFFE A070           move.l     D0, 0xFFFEA070
  4994. 000034F8  A05A                     syscall    PrimeTime
  4995. 000034FA  6016                     bra        +0x18 /* 00003512 */
  4996. label000034FC:
  4997. 000034FC  7000                     moveq.l    D0, 0x00
  4998. 000034FE  2F00                     move.l     -[A7], D0
  4999. 00003500  720E                     moveq.l    D1, 0x0E
  5000. 00003502  2F01                     move.l     -[A7], D1
  5001. 00003504  2F07                     move.l     -[A7], D7
  5002. 00003506  4EBA D604                jsr        [PC - 0x29FC /* 00000B0C */]
  5003. 0000350A  4A40                     tst.w      D0
  5004. 0000350C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5005. 00003510  6606                     bne        +0x8 /* 00003518 */
  5006. label00003512:
  5007. 00003512  4A6E FFEE                tst.w      [A6 - 0x12]
  5008. 00003516  6DE4                     blt        -0x1A /* 000034FC */
  5009. label00003518:
  5010. 00003518  41EE FFEA                lea.l      A0, [A6 - 0x16]
  5011. 0000351C  A059                     syscall    RmvTime
  5012. 0000351E  4AAE FFF4                tst.l      [A6 - 0xC]
  5013. 00003522  667E                     bne        +0x80 /* 000035A2 */
  5014. 00003524  7000                     moveq.l    D0, 0x00
  5015. 00003526  2F00                     move.l     -[A7], D0
  5016. 00003528  7205                     moveq.l    D1, 0x05
  5017. 0000352A  2F01                     move.l     -[A7], D1
  5018. 0000352C  700E                     moveq.l    D0, 0x0E
  5019. 0000352E  2F00                     move.l     -[A7], D0
  5020. 00003530  2F07                     move.l     -[A7], D7
  5021. 00003532  4EBA D0DE                jsr        [PC - 0x2F22 /* 00000612 */]
  5022. 00003536  7001                     moveq.l    D0, 0x01
  5023. 00003538  2F00                     move.l     -[A7], D0
  5024. 0000353A  7207                     moveq.l    D1, 0x07
  5025. 0000353C  2F01                     move.l     -[A7], D1
  5026. 0000353E  700E                     moveq.l    D0, 0x0E
  5027. 00003540  2F00                     move.l     -[A7], D0
  5028. 00003542  2F07                     move.l     -[A7], D7
  5029. 00003544  4EBA D0CC                jsr        [PC - 0x2F34 /* 00000612 */]
  5030. 00003548  7000                     moveq.l    D0, 0x00
  5031. 0000354A  2F00                     move.l     -[A7], D0
  5032. 0000354C  7207                     moveq.l    D1, 0x07
  5033. 0000354E  2F01                     move.l     -[A7], D1
  5034. 00003550  700E                     moveq.l    D0, 0x0E
  5035. 00003552  2F00                     move.l     -[A7], D0
  5036. 00003554  2F07                     move.l     -[A7], D7
  5037. 00003556  4EBA D0BA                jsr        [PC - 0x2F46 /* 00000612 */]
  5038. 0000355A  3A3C E0AE                move.w     D5, 0xE0AE
  5039. 0000355E  4FEF 0030                lea.l      A7, [A7 + 0x30]
  5040. 00003562  603E                     bra        +0x40 /* 000035A2 */
  5041. label00003564:
  5042. 00003564  7001                     moveq.l    D0, 0x01
  5043. 00003566  2F00                     move.l     -[A7], D0
  5044. 00003568  7204                     moveq.l    D1, 0x04
  5045. 0000356A  2F01                     move.l     -[A7], D1
  5046. 0000356C  700E                     moveq.l    D0, 0x0E
  5047. 0000356E  2F00                     move.l     -[A7], D0
  5048. 00003570  2F07                     move.l     -[A7], D7
  5049. 00003572  4EBA D09E                jsr        [PC - 0x2F62 /* 00000612 */]
  5050. 00003576  7001                     moveq.l    D0, 0x01
  5051. 00003578  2F00                     move.l     -[A7], D0
  5052. 0000357A  7205                     moveq.l    D1, 0x05
  5053. 0000357C  2F01                     move.l     -[A7], D1
  5054. 0000357E  700E                     moveq.l    D0, 0x0E
  5055. 00003580  2F00                     move.l     -[A7], D0
  5056. 00003582  2F07                     move.l     -[A7], D7
  5057. 00003584  4EBA D08C                jsr        [PC - 0x2F74 /* 00000612 */]
  5058. 00003588  7000                     moveq.l    D0, 0x00
  5059. 0000358A  2F00                     move.l     -[A7], D0
  5060. 0000358C  720E                     moveq.l    D1, 0x0E
  5061. 0000358E  2F01                     move.l     -[A7], D1
  5062. 00003590  2F07                     move.l     -[A7], D7
  5063. 00003592  4EBA D578                jsr        [PC - 0x2A88 /* 00000B0C */]
  5064. 00003596  4A40                     tst.w      D0
  5065. 00003598  4FEF 002C                lea.l      A7, [A7 + 0x2C]
  5066. 0000359C  6604                     bne        +0x6 /* 000035A2 */
  5067. 0000359E  3A3C E094                move.w     D5, 0xE094
  5068. label000035A2:
  5069. 000035A2  7000                     moveq.l    D0, 0x00
  5070. 000035A4  2F00                     move.l     -[A7], D0
  5071. 000035A6  720E                     moveq.l    D1, 0x0E
  5072. 000035A8  2F01                     move.l     -[A7], D1
  5073. 000035AA  2F07                     move.l     -[A7], D7
  5074. 000035AC  4EBA D55E                jsr        [PC - 0x2AA2 /* 00000B0C */]
  5075. 000035B0  4A40                     tst.w      D0
  5076. 000035B2  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5077. 000035B6  6700 0F9C                beq        +0xF9E /* 00004554 */
  5078. 000035BA  6000 0F98                bra        +0xF9A /* 00004554 */
  5079. label000035BE:
  5080. 000035BE  2F0B                     move.l     -[A7], A3
  5081. 000035C0  4EBA D680                jsr        [PC - 0x2980 /* 00000C42 */]
  5082. 000035C4  377C FFFF 000E           move.w     [A3 + 0xE], 0xFFFF
  5083. 000035CA  584F                     addq.w     A7, 4
  5084. 000035CC  6000 0F86                bra        +0xF88 /* 00004554 */
  5085. label000035D0:
  5086. 000035D0  2F0B                     move.l     -[A7], A3
  5087. 000035D2  4EBA D090                jsr        [PC - 0x2F70 /* 00000664 */]
  5088. 000035D6  3D40 FFE6                move.w     [A6 - 0x1A], D0
  5089. 000035DA  7003                     moveq.l    D0, 0x03
  5090. 000035DC  2F00                     move.l     -[A7], D0
  5091. 000035DE  7208                     moveq.l    D1, 0x08
  5092. 000035E0  2F01                     move.l     -[A7], D1
  5093. 000035E2  2F07                     move.l     -[A7], D7
  5094. 000035E4  4EBA CAD2                jsr        [PC - 0x352E /* 000000B8 */]
  5095. 000035E8  2D40 FFE2                move.l     [A6 - 0x1E], D0
  5096. 000035EC  202E FFE2                move.l     D0, [A6 - 0x1E]
  5097. 000035F0  4C7C 0801 0000 0240      movem.l    D0,A3, 0x240
  5098. 000035F8  3D41 FFC4                move.w     [A6 - 0x3C], D1
  5099. 000035FC  202E FFE2                move.l     D0, [A6 - 0x1E]
  5100. 00003600  4C7C 0800 0000 0240      movem.l    A3, 0x240
  5101. 00003608  3D40 FFC6                move.w     [A6 - 0x3A], D0
  5102. 0000360C  7006                     moveq.l    D0, 0x06
  5103. 0000360E  2F00                     move.l     -[A7], D0
  5104. 00003610  720F                     moveq.l    D1, 0x0F
  5105. 00003612  2F01                     move.l     -[A7], D1
  5106. 00003614  2F07                     move.l     -[A7], D7
  5107. 00003616  4EBA D4F4                jsr        [PC - 0x2B0C /* 00000B0C */]
  5108. 0000361A  7201                     moveq.l    D1, 0x01
  5109. 0000361C  B340                     xor.w      D0, D1
  5110. 0000361E  48C0                     ext.l      D0
  5111. 00003620  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5112. 00003624  2F00                     move.l     -[A7], D0
  5113. 00003626  7006                     moveq.l    D0, 0x06
  5114. 00003628  2F00                     move.l     -[A7], D0
  5115. 0000362A  720F                     moveq.l    D1, 0x0F
  5116. 0000362C  2F01                     move.l     -[A7], D1
  5117. 0000362E  2F07                     move.l     -[A7], D7
  5118. 00003630  4EBA CFE0                jsr        [PC - 0x3020 /* 00000612 */]
  5119. 00003634  7006                     moveq.l    D0, 0x06
  5120. 00003636  2F00                     move.l     -[A7], D0
  5121. 00003638  720F                     moveq.l    D1, 0x0F
  5122. 0000363A  2F01                     move.l     -[A7], D1
  5123. 0000363C  2F07                     move.l     -[A7], D7
  5124. 0000363E  4EBA D4CC                jsr        [PC - 0x2B34 /* 00000B0C */]
  5125. 00003642  4A40                     tst.w      D0
  5126. 00003644  4FEF 002C                lea.l      A7, [A7 + 0x2C]
  5127. 00003648  6610                     bne        +0x12 /* 0000365A */
  5128. 0000364A  2F07                     move.l     -[A7], D7
  5129. 0000364C  4EBA D5A2                jsr        [PC - 0x2A5E /* 00000BF0 */]
  5130. 00003650  5340                     subq.w     D0, 1
  5131. 00003652  D16E FFC4                add.w      [A6 - 0x3C], D0
  5132. 00003656  584F                     addq.w     A7, 4
  5133. 00003658  600E                     bra        +0x10 /* 00003668 */
  5134. label0000365A:
  5135. 0000365A  2F07                     move.l     -[A7], D7
  5136. 0000365C  4EBA D592                jsr        [PC - 0x2A6E /* 00000BF0 */]
  5137. 00003660  5340                     subq.w     D0, 1
  5138. 00003662  916E FFC4                sub.w      [A6 - 0x3C], D0
  5139. 00003666  584F                     addq.w     A7, 4
  5140. label00003668:
  5141. 00003668  7003                     moveq.l    D0, 0x03
  5142. 0000366A  2F00                     move.l     -[A7], D0
  5143. 0000366C  323C 0240                move.w     D1, 0x240
  5144. 00003670  C3EE FFC6                muls.w     D1, [A6 - 0x3A]
  5145. 00003674  342E FFC4                move.w     D2, [A6 - 0x3C]
  5146. 00003678  48C2                     ext.l      D2
  5147. 0000367A  D481                     add.l      D2, D1
  5148. 0000367C  2F02                     move.l     -[A7], D2
  5149. 0000367E  7208                     moveq.l    D1, 0x08
  5150. 00003680  2F01                     move.l     -[A7], D1
  5151. 00003682  2F07                     move.l     -[A7], D7
  5152. 00003684  4EBA C9DA                jsr        [PC - 0x3626 /* 00000060 */]
  5153. 00003688  4A6E FFE6                tst.w      [A6 - 0x1A]
  5154. 0000368C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5155. 00003690  6700 0EC2                beq        +0xEC4 /* 00004554 */
  5156. 00003694  7001                     moveq.l    D0, 0x01
  5157. 00003696  2F00                     move.l     -[A7], D0
  5158. 00003698  7205                     moveq.l    D1, 0x05
  5159. 0000369A  2F01                     move.l     -[A7], D1
  5160. 0000369C  700E                     moveq.l    D0, 0x0E
  5161. 0000369E  2F00                     move.l     -[A7], D0
  5162. 000036A0  2F07                     move.l     -[A7], D7
  5163. 000036A2  4EBA CF6E                jsr        [PC - 0x3092 /* 00000612 */]
  5164. 000036A6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5165. 000036AA  6000 0EA8                bra        +0xEAA /* 00004554 */
  5166. label000036AE:
  5167. 000036AE  2F0B                     move.l     -[A7], A3
  5168. 000036B0  4EBA CFB2                jsr        [PC - 0x304E /* 00000664 */]
  5169. 000036B4  3D40 FFE6                move.w     [A6 - 0x1A], D0
  5170. 000036B8  7003                     moveq.l    D0, 0x03
  5171. 000036BA  2F00                     move.l     -[A7], D0
  5172. 000036BC  7208                     moveq.l    D1, 0x08
  5173. 000036BE  2F01                     move.l     -[A7], D1
  5174. 000036C0  2F07                     move.l     -[A7], D7
  5175. 000036C2  4EBA C9F4                jsr        [PC - 0x360C /* 000000B8 */]
  5176. 000036C6  2D40 FFE2                move.l     [A6 - 0x1E], D0
  5177. 000036CA  202E FFE2                move.l     D0, [A6 - 0x1E]
  5178. 000036CE  4C7C 0801 0000 0240      movem.l    D0,A3, 0x240
  5179. 000036D6  3D41 FFC4                move.w     [A6 - 0x3C], D1
  5180. 000036DA  202E FFE2                move.l     D0, [A6 - 0x1E]
  5181. 000036DE  4C7C 0800 0000 0240      movem.l    A3, 0x240
  5182. 000036E6  3D40 FFC6                move.w     [A6 - 0x3A], D0
  5183. 000036EA  7007                     moveq.l    D0, 0x07
  5184. 000036EC  2F00                     move.l     -[A7], D0
  5185. 000036EE  720F                     moveq.l    D1, 0x0F
  5186. 000036F0  2F01                     move.l     -[A7], D1
  5187. 000036F2  2F07                     move.l     -[A7], D7
  5188. 000036F4  4EBA D416                jsr        [PC - 0x2BEA /* 00000B0C */]
  5189. 000036F8  7201                     moveq.l    D1, 0x01
  5190. 000036FA  B340                     xor.w      D0, D1
  5191. 000036FC  48C0                     ext.l      D0
  5192. 000036FE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5193. 00003702  2F00                     move.l     -[A7], D0
  5194. 00003704  7007                     moveq.l    D0, 0x07
  5195. 00003706  2F00                     move.l     -[A7], D0
  5196. 00003708  720F                     moveq.l    D1, 0x0F
  5197. 0000370A  2F01                     move.l     -[A7], D1
  5198. 0000370C  2F07                     move.l     -[A7], D7
  5199. 0000370E  4EBA CF02                jsr        [PC - 0x30FE /* 00000612 */]
  5200. 00003712  7007                     moveq.l    D0, 0x07
  5201. 00003714  2F00                     move.l     -[A7], D0
  5202. 00003716  720F                     moveq.l    D1, 0x0F
  5203. 00003718  2F01                     move.l     -[A7], D1
  5204. 0000371A  2F07                     move.l     -[A7], D7
  5205. 0000371C  4EBA D3EE                jsr        [PC - 0x2C12 /* 00000B0C */]
  5206. 00003720  4A40                     tst.w      D0
  5207. 00003722  4FEF 002C                lea.l      A7, [A7 + 0x2C]
  5208. 00003726  6610                     bne        +0x12 /* 00003738 */
  5209. 00003728  2F07                     move.l     -[A7], D7
  5210. 0000372A  4EBA D42C                jsr        [PC - 0x2BD4 /* 00000B58 */]
  5211. 0000372E  5340                     subq.w     D0, 1
  5212. 00003730  D16E FFC6                add.w      [A6 - 0x3A], D0
  5213. 00003734  584F                     addq.w     A7, 4
  5214. 00003736  600E                     bra        +0x10 /* 00003746 */
  5215. label00003738:
  5216. 00003738  2F07                     move.l     -[A7], D7
  5217. 0000373A  4EBA D41C                jsr        [PC - 0x2BE4 /* 00000B58 */]
  5218. 0000373E  5340                     subq.w     D0, 1
  5219. 00003740  916E FFC6                sub.w      [A6 - 0x3A], D0
  5220. 00003744  584F                     addq.w     A7, 4
  5221. label00003746:
  5222. 00003746  7003                     moveq.l    D0, 0x03
  5223. 00003748  2F00                     move.l     -[A7], D0
  5224. 0000374A  322E FFC6                move.w     D1, [A6 - 0x3A]
  5225. 0000374E  48C1                     ext.l      D1
  5226. 00003750  4C3C 1800 0000           movem.w    A3,A4, 0x0
  5227. 00003756  0240 342E                andi.w     D0, 0x342E /* '4.' */
  5228. 0000375A  FFC4                     .invalid   <<F/7/7>>
  5229. 0000375C  48C2                     ext.l      D2
  5230. 0000375E  D481                     add.l      D2, D1
  5231. 00003760  2F02                     move.l     -[A7], D2
  5232. 00003762  7208                     moveq.l    D1, 0x08
  5233. 00003764  2F01                     move.l     -[A7], D1
  5234. 00003766  2F07                     move.l     -[A7], D7
  5235. 00003768  4EBA C8F6                jsr        [PC - 0x370A /* 00000060 */]
  5236. 0000376C  4A6E FFE6                tst.w      [A6 - 0x1A]
  5237. 00003770  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5238. 00003774  6700 0DDE                beq        +0xDE0 /* 00004554 */
  5239. 00003778  7001                     moveq.l    D0, 0x01
  5240. 0000377A  2F00                     move.l     -[A7], D0
  5241. 0000377C  7205                     moveq.l    D1, 0x05
  5242. 0000377E  2F01                     move.l     -[A7], D1
  5243. 00003780  700E                     moveq.l    D0, 0x0E
  5244. 00003782  2F00                     move.l     -[A7], D0
  5245. 00003784  2F07                     move.l     -[A7], D7
  5246. 00003786  4EBA CE8A                jsr        [PC - 0x3176 /* 00000612 */]
  5247. 0000378A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5248. 0000378E  6000 0DC4                bra        +0xDC6 /* 00004554 */
  5249. label00003792:
  5250. 00003792  302C 001C                move.w     D0, [A4 + 0x1C]
  5251. 00003796  E040                     asr        D0.w, 8
  5252. 00003798  0C40 0052                cmpi.w     D0, 0x52 /* 'R' */
  5253. 0000379C  6606                     bne        +0x8 /* 000037A4 */
  5254. 0000379E  7AEF                     moveq.l    D5, 0xFFFFFFEF
  5255. 000037A0  6000 0DB2                bra        +0xDB4 /* 00004554 */
  5256. label000037A4:
  5257. 000037A4  703F                     moveq.l    D0, 0x3F
  5258. 000037A6  2F00                     move.l     -[A7], D0
  5259. 000037A8  7200                     moveq.l    D1, 0x00
  5260. 000037AA  2F01                     move.l     -[A7], D1
  5261. 000037AC  342C 001C                move.w     D2, [A4 + 0x1C]
  5262. 000037B0  48C2                     ext.l      D2
  5263. 000037B2  2F02                     move.l     -[A7], D2
  5264. 000037B4  4EBA CE36                jsr        [PC - 0x31CA /* 000005EC */]
  5265. 000037B8  4A40                     tst.w      D0
  5266. 000037BA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5267. 000037BE  6608                     bne        +0xA /* 000037C8 */
  5268. 000037C0  3A3C E0AC                move.w     D5, 0xE0AC
  5269. 000037C4  6000 0D8E                bra        +0xD90 /* 00004554 */
  5270. label000037C8:
  5271. 000037C8  7AEF                     moveq.l    D5, 0xFFFFFFEF
  5272. 000037CA  6000 0D88                bra        +0xD8A /* 00004554 */
  5273. label000037CE:
  5274. 000037CE  4A6C 001C                tst.w      [A4 + 0x1C]
  5275. 000037D2  6724                     beq        +0x26 /* 000037F8 */
  5276. 000037D4  206B 000A                movea.l    A0, [A3 + 0xA]
  5277. 000037D8  2050                     movea.l    A0, [A0]
  5278. 000037DA  4A68 035A                tst.w      [A0 + 0x35A]
  5279. 000037DE  6708                     beq        +0xA /* 000037E8 */
  5280. 000037E0  3A3C E0AB                move.w     D5, 0xE0AB
  5281. 000037E4  6000 0D6E                bra        +0xD70 /* 00004554 */
  5282. label000037E8:
  5283. 000037E8  206B 000A                movea.l    A0, [A3 + 0xA]
  5284. 000037EC  2050                     movea.l    A0, [A0]
  5285. 000037EE  317C 0001 035A           move.w     [A0 + 0x35A], 0x1
  5286. 000037F4  6000 0D5E                bra        +0xD60 /* 00004554 */
  5287. label000037F8:
  5288. 000037F8  206B 000A                movea.l    A0, [A3 + 0xA]
  5289. 000037FC  2050                     movea.l    A0, [A0]
  5290. 000037FE  4268 035A                clr.w      [A0 + 0x35A]
  5291. 00003802  6000 0D50                bra        +0xD52 /* 00004554 */
  5292. label00003806:
  5293. 00003806  4A6C 001C                tst.w      [A4 + 0x1C]
  5294. 0000380A  6730                     beq        +0x32 /* 0000383C */
  5295. 0000380C  2F0B                     move.l     -[A7], A3
  5296. 0000380E  206E FFD4                movea.l    A0, [A6 - 0x2C]
  5297. 00003812  7000                     moveq.l    D0, 0x00
  5298. 00003814  1028 0015                move.b     D0, [A0 + 0x15]
  5299. 00003818  4A80                     tst.l      D0
  5300. 0000381A  323C 0080                move.w     D1, 0x80
  5301. 0000381E  8200                     or.b       D1, D0
  5302. 00003820  7000                     moveq.l    D0, 0x00
  5303. 00003822  1001                     move.b     D0, D1
  5304. 00003824  4A80                     tst.l      D0
  5305. 00003826  2F00                     move.l     -[A7], D0
  5306. 00003828  700D                     moveq.l    D0, 0x0D
  5307. 0000382A  2F00                     move.l     -[A7], D0
  5308. 0000382C  48C4                     ext.l      D4
  5309. 0000382E  2F04                     move.l     -[A7], D4
  5310. 00003830  4EBA DBD8                jsr        [PC - 0x2428 /* 0000140A */]
  5311. 00003834  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5312. 00003838  6000 0D1A                bra        +0xD1C /* 00004554 */
  5313. label0000383C:
  5314. 0000383C  2F0B                     move.l     -[A7], A3
  5315. 0000383E  206E FFD4                movea.l    A0, [A6 - 0x2C]
  5316. 00003842  7000                     moveq.l    D0, 0x00
  5317. 00003844  1028 0015                move.b     D0, [A0 + 0x15]
  5318. 00003848  4A80                     tst.l      D0
  5319. 0000384A  323C FF7F                move.w     D1, 0xFF7F
  5320. 0000384E  C240                     and.w      D1, D0
  5321. 00003850  7000                     moveq.l    D0, 0x00
  5322. 00003852  3001                     move.w     D0, D1
  5323. 00003854  4A80                     tst.l      D0
  5324. 00003856  2F00                     move.l     -[A7], D0
  5325. 00003858  700D                     moveq.l    D0, 0x0D
  5326. 0000385A  2F00                     move.l     -[A7], D0
  5327. 0000385C  48C4                     ext.l      D4
  5328. 0000385E  2F04                     move.l     -[A7], D4
  5329. 00003860  4EBA DBA8                jsr        [PC - 0x2458 /* 0000140A */]
  5330. 00003864  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5331. 00003868  6000 0CEA                bra        +0xCEC /* 00004554 */
  5332. label0000386C:
  5333. 0000386C  7AEF                     moveq.l    D5, 0xFFFFFFEF
  5334. 0000386E  6000 0CE4                bra        +0xCE6 /* 00004554 */
  5335. 00003872  2F0B                     move.l     -[A7], A3
  5336. 00003874  4EBA CDEE                jsr        [PC - 0x3212 /* 00000664 */]
  5337. 00003878  3D40 FFE6                move.w     [A6 - 0x1A], D0
  5338. 0000387C  4A6E FFE6                tst.w      [A6 - 0x1A]
  5339. 00003880  584F                     addq.w     A7, 4
  5340. 00003882  6700 0CD0                beq        +0xCD2 /* 00004554 */
  5341. 00003886  7001                     moveq.l    D0, 0x01
  5342. 00003888  2F00                     move.l     -[A7], D0
  5343. 0000388A  7205                     moveq.l    D1, 0x05
  5344. 0000388C  2F01                     move.l     -[A7], D1
  5345. 0000388E  700E                     moveq.l    D0, 0x0E
  5346. 00003890  2F00                     move.l     -[A7], D0
  5347. 00003892  2F07                     move.l     -[A7], D7
  5348. 00003894  4EBA CD7C                jsr        [PC - 0x3284 /* 00000612 */]
  5349. 00003898  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5350. 0000389C  6000 0CB6                bra        +0xCB8 /* 00004554 */
  5351. label000038A0:
  5352. 000038A0  7002                     moveq.l    D0, 0x02
  5353. 000038A2  2F00                     move.l     -[A7], D0
  5354. 000038A4  7200                     moveq.l    D1, 0x00
  5355. 000038A6  2F01                     move.l     -[A7], D1
  5356. 000038A8  342C 001C                move.w     D2, [A4 + 0x1C]
  5357. 000038AC  48C2                     ext.l      D2
  5358. 000038AE  2F02                     move.l     -[A7], D2
  5359. 000038B0  4EBA CD3A                jsr        [PC - 0x32C6 /* 000005EC */]
  5360. 000038B4  4A40                     tst.w      D0
  5361. 000038B6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5362. 000038BA  6608                     bne        +0xA /* 000038C4 */
  5363. 000038BC  3A3C E0A2                move.w     D5, 0xE0A2
  5364. 000038C0  6000 0C92                bra        +0xC94 /* 00004554 */
  5365. label000038C4:
  5366. 000038C4  206E FFD4                movea.l    A0, [A6 - 0x2C]
  5367. 000038C8  316C 001C 0004           move.w     [A0 + 0x4], [A4 + 0x1C]
  5368. 000038CE  4A6C 001C                tst.w      [A4 + 0x1C]
  5369. 000038D2  6600 0098                bne        +0x9A /* 0000396C */
  5370. 000038D6  206E FFCC                movea.l    A0, [A6 - 0x34]
  5371. 000038DA  30BC 0010                move.w     [A0], 0x10
  5372. 000038DE  206E FFCC                movea.l    A0, [A6 - 0x34]
  5373. 000038E2  317C 02AB 0002           move.w     [A0 + 0x2], 0x2AB
  5374. 000038E8  206E FFCC                movea.l    A0, [A6 - 0x34]
  5375. 000038EC  317C 0008 0004           move.w     [A0 + 0x4], 0x8
  5376. 000038F2  206E FFCC                movea.l    A0, [A6 - 0x34]
  5377. 000038F6  317C 00FD 0006           move.w     [A0 + 0x6], 0xFD
  5378. 000038FC  2F0B                     move.l     -[A7], A3
  5379. 000038FE  707F                     moveq.l    D0, 0x7F
  5380. 00003900  2F00                     move.l     -[A7], D0
  5381. 00003902  720F                     moveq.l    D1, 0x0F
  5382. 00003904  2F01                     move.l     -[A7], D1
  5383. 00003906  48C4                     ext.l      D4
  5384. 00003908  2F04                     move.l     -[A7], D4
  5385. 0000390A  4EBA DAFE                jsr        [PC - 0x2502 /* 0000140A */]
  5386. 0000390E  2F0B                     move.l     -[A7], A3
  5387. 00003910  206E FFD4                movea.l    A0, [A6 - 0x2C]
  5388. 00003914  7000                     moveq.l    D0, 0x00
  5389. 00003916  1028 0015                move.b     D0, [A0 + 0x15]
  5390. 0000391A  4A80                     tst.l      D0
  5391. 0000391C  72FE                     moveq.l    D1, 0xFFFFFFFE
  5392. 0000391E  C200                     and.b      D1, D0
  5393. 00003920  7000                     moveq.l    D0, 0x00
  5394. 00003922  1001                     move.b     D0, D1
  5395. 00003924  4A80                     tst.l      D0
  5396. 00003926  2F00                     move.l     -[A7], D0
  5397. 00003928  700D                     moveq.l    D0, 0x0D
  5398. 0000392A  2F00                     move.l     -[A7], D0
  5399. 0000392C  48C4                     ext.l      D4
  5400. 0000392E  2F04                     move.l     -[A7], D4
  5401. 00003930  4EBA DAD8                jsr        [PC - 0x2528 /* 0000140A */]
  5402. 00003934  2F0B                     move.l     -[A7], A3
  5403. 00003936  206E FFD4                movea.l    A0, [A6 - 0x2C]
  5404. 0000393A  7000                     moveq.l    D0, 0x00
  5405. 0000393C  1028 000E                move.b     D0, [A0 + 0xE]
  5406. 00003940  4A80                     tst.l      D0
  5407. 00003942  72FC                     moveq.l    D1, 0xFFFFFFFC
  5408. 00003944  C200                     and.b      D1, D0
  5409. 00003946  7000                     moveq.l    D0, 0x00
  5410. 00003948  1001                     move.b     D0, D1
  5411. 0000394A  4A80                     tst.l      D0
  5412. 0000394C  7203                     moveq.l    D1, 0x03
  5413. 0000394E  8200                     or.b       D1, D0
  5414. 00003950  7000                     moveq.l    D0, 0x00
  5415. 00003952  1001                     move.b     D0, D1
  5416. 00003954  4A80                     tst.l      D0
  5417. 00003956  2F00                     move.l     -[A7], D0
  5418. 00003958  7006                     moveq.l    D0, 0x06
  5419. 0000395A  2F00                     move.l     -[A7], D0
  5420. 0000395C  48C4                     ext.l      D4
  5421. 0000395E  2F04                     move.l     -[A7], D4
  5422. 00003960  4EBA DAA8                jsr        [PC - 0x2558 /* 0000140A */]
  5423. 00003964  4FEF 0030                lea.l      A7, [A7 + 0x30]
  5424. 00003968  6000 0BEA                bra        +0xBEC /* 00004554 */
  5425. label0000396C:
  5426. 0000396C  7001                     moveq.l    D0, 0x01
  5427. 0000396E  B06C 001C                cmp.w      D0, [A4 + 0x1C]
  5428. 00003972  6600 00CC                bne        +0xCE /* 00003A40 */
  5429. 00003976  206E FFCC                movea.l    A0, [A6 - 0x34]
  5430. 0000397A  30BC 0004                move.w     [A0], 0x4
  5431. 0000397E  206E FFCC                movea.l    A0, [A6 - 0x34]
  5432. 00003982  317C 034B 0002           move.w     [A0 + 0x2], 0x34B
  5433. 00003988  206E FFCC                movea.l    A0, [A6 - 0x34]
  5434. 0000398C  317C 0002 0004           move.w     [A0 + 0x4], 0x2
  5435. 00003992  206E FFCC                movea.l    A0, [A6 - 0x34]
  5436. 00003996  317C 012F 0006           move.w     [A0 + 0x6], 0x12F
  5437. 0000399C  206E FFD4                movea.l    A0, [A6 - 0x2C]
  5438. 000039A0  7004                     moveq.l    D0, 0x04
  5439. 000039A2  B068 0006                cmp.w      D0, [A0 + 0x6]
  5440. 000039A6  670C                     beq        +0xE /* 000039B4 */
  5441. 000039A8  206E FFD4                movea.l    A0, [A6 - 0x2C]
  5442. 000039AC  7005                     moveq.l    D0, 0x05
  5443. 000039AE  B068 0006                cmp.w      D0, [A0 + 0x6]
  5444. 000039B2  6618                     bne        +0x1A /* 000039CC */
  5445. label000039B4:
  5446. 000039B4  2F0B                     move.l     -[A7], A3
  5447. 000039B6  703F                     moveq.l    D0, 0x3F
  5448. 000039B8  2F00                     move.l     -[A7], D0
  5449. 000039BA  720F                     moveq.l    D1, 0x0F
  5450. 000039BC  2F01                     move.l     -[A7], D1
  5451. 000039BE  48C4                     ext.l      D4
  5452. 000039C0  2F04                     move.l     -[A7], D4
  5453. 000039C2  4EBA DA46                jsr        [PC - 0x25BA /* 0000140A */]
  5454. 000039C6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5455. 000039CA  6016                     bra        +0x18 /* 000039E2 */
  5456. label000039CC:
  5457. 000039CC  2F0B                     move.l     -[A7], A3
  5458. 000039CE  7039                     moveq.l    D0, 0x39
  5459. 000039D0  2F00                     move.l     -[A7], D0
  5460. 000039D2  720F                     moveq.l    D1, 0x0F
  5461. 000039D4  2F01                     move.l     -[A7], D1
  5462. 000039D6  48C4                     ext.l      D4
  5463. 000039D8  2F04                     move.l     -[A7], D4
  5464. 000039DA  4EBA DA2E                jsr        [PC - 0x25D2 /* 0000140A */]
  5465. 000039DE  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5466. label000039E2:
  5467. 000039E2  2F0B                     move.l     -[A7], A3
  5468. 000039E4  206E FFD4                movea.l    A0, [A6 - 0x2C]
  5469. 000039E8  7000                     moveq.l    D0, 0x00
  5470. 000039EA  1028 0015                move.b     D0, [A0 + 0x15]
  5471. 000039EE  4A80                     tst.l      D0
  5472. 000039F0  72FE                     moveq.l    D1, 0xFFFFFFFE
  5473. 000039F2  C200                     and.b      D1, D0
  5474. 000039F4  7000                     moveq.l    D0, 0x00
  5475. 000039F6  1001                     move.b     D0, D1
  5476. 000039F8  4A80                     tst.l      D0
  5477. 000039FA  2F00                     move.l     -[A7], D0
  5478. 000039FC  700D                     moveq.l    D0, 0x0D
  5479. 000039FE  2F00                     move.l     -[A7], D0
  5480. 00003A00  48C4                     ext.l      D4
  5481. 00003A02  2F04                     move.l     -[A7], D4
  5482. 00003A04  4EBA DA04                jsr        [PC - 0x25FC /* 0000140A */]
  5483. 00003A08  2F0B                     move.l     -[A7], A3
  5484. 00003A0A  206E FFD4                movea.l    A0, [A6 - 0x2C]
  5485. 00003A0E  7000                     moveq.l    D0, 0x00
  5486. 00003A10  1028 000E                move.b     D0, [A0 + 0xE]
  5487. 00003A14  4A80                     tst.l      D0
  5488. 00003A16  72FC                     moveq.l    D1, 0xFFFFFFFC
  5489. 00003A18  C200                     and.b      D1, D0
  5490. 00003A1A  7000                     moveq.l    D0, 0x00
  5491. 00003A1C  1001                     move.b     D0, D1
  5492. 00003A1E  4A80                     tst.l      D0
  5493. 00003A20  7202                     moveq.l    D1, 0x02
  5494. 00003A22  8200                     or.b       D1, D0
  5495. 00003A24  7000                     moveq.l    D0, 0x00
  5496. 00003A26  1001                     move.b     D0, D1
  5497. 00003A28  4A80                     tst.l      D0
  5498. 00003A2A  2F00                     move.l     -[A7], D0
  5499. 00003A2C  7006                     moveq.l    D0, 0x06
  5500. 00003A2E  2F00                     move.l     -[A7], D0
  5501. 00003A30  48C4                     ext.l      D4
  5502. 00003A32  2F04                     move.l     -[A7], D4
  5503. 00003A34  4EBA D9D4                jsr        [PC - 0x262C /* 0000140A */]
  5504. 00003A38  4FEF 0020                lea.l      A7, [A7 + 0x20]
  5505. 00003A3C  6000 0B16                bra        +0xB18 /* 00004554 */
  5506. label00003A40:
  5507. 00003A40  7002                     moveq.l    D0, 0x02
  5508. 00003A42  B06C 001C                cmp.w      D0, [A4 + 0x1C]
  5509. 00003A46  6600 0B0C                bne        +0xB0E /* 00004554 */
  5510. 00003A4A  206E FFCC                movea.l    A0, [A6 - 0x34]
  5511. 00003A4E  30BC 0004                move.w     [A0], 0x4
  5512. 00003A52  206E FFCC                movea.l    A0, [A6 - 0x34]
  5513. 00003A56  317C 034B 0002           move.w     [A0 + 0x2], 0x34B
  5514. 00003A5C  206E FFCC                movea.l    A0, [A6 - 0x34]
  5515. 00003A60  317C 0002 0004           move.w     [A0 + 0x4], 0x2
  5516. 00003A66  206E FFCC                movea.l    A0, [A6 - 0x34]
  5517. 00003A6A  317C 012F 0006           move.w     [A0 + 0x6], 0x12F
  5518. 00003A70  206E FFD4                movea.l    A0, [A6 - 0x2C]
  5519. 00003A74  7004                     moveq.l    D0, 0x04
  5520. 00003A76  B068 0006                cmp.w      D0, [A0 + 0x6]
  5521. 00003A7A  670C                     beq        +0xE /* 00003A88 */
  5522. 00003A7C  206E FFD4                movea.l    A0, [A6 - 0x2C]
  5523. 00003A80  7005                     moveq.l    D0, 0x05
  5524. 00003A82  B068 0006                cmp.w      D0, [A0 + 0x6]
  5525. 00003A86  6618                     bne        +0x1A /* 00003AA0 */
  5526. label00003A88:
  5527. 00003A88  2F0B                     move.l     -[A7], A3
  5528. 00003A8A  703E                     moveq.l    D0, 0x3E
  5529. 00003A8C  2F00                     move.l     -[A7], D0
  5530. 00003A8E  720F                     moveq.l    D1, 0x0F
  5531. 00003A90  2F01                     move.l     -[A7], D1
  5532. 00003A92  48C4                     ext.l      D4
  5533. 00003A94  2F04                     move.l     -[A7], D4
  5534. 00003A96  4EBA D972                jsr        [PC - 0x268E /* 0000140A */]
  5535. 00003A9A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5536. 00003A9E  6016                     bra        +0x18 /* 00003AB6 */
  5537. label00003AA0:
  5538. 00003AA0  2F0B                     move.l     -[A7], A3
  5539. 00003AA2  703F                     moveq.l    D0, 0x3F
  5540. 00003AA4  2F00                     move.l     -[A7], D0
  5541. 00003AA6  720F                     moveq.l    D1, 0x0F
  5542. 00003AA8  2F01                     move.l     -[A7], D1
  5543. 00003AAA  48C4                     ext.l      D4
  5544. 00003AAC  2F04                     move.l     -[A7], D4
  5545. 00003AAE  4EBA D95A                jsr        [PC - 0x26A6 /* 0000140A */]
  5546. 00003AB2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5547. label00003AB6:
  5548. 00003AB6  2F0B                     move.l     -[A7], A3
  5549. 00003AB8  206E FFD4                movea.l    A0, [A6 - 0x2C]
  5550. 00003ABC  7000                     moveq.l    D0, 0x00
  5551. 00003ABE  1028 0015                move.b     D0, [A0 + 0x15]
  5552. 00003AC2  4A80                     tst.l      D0
  5553. 00003AC4  7201                     moveq.l    D1, 0x01
  5554. 00003AC6  8200                     or.b       D1, D0
  5555. 00003AC8  7000                     moveq.l    D0, 0x00
  5556. 00003ACA  1001                     move.b     D0, D1
  5557. 00003ACC  4A80                     tst.l      D0
  5558. 00003ACE  2F00                     move.l     -[A7], D0
  5559. 00003AD0  700D                     moveq.l    D0, 0x0D
  5560. 00003AD2  2F00                     move.l     -[A7], D0
  5561. 00003AD4  48C4                     ext.l      D4
  5562. 00003AD6  2F04                     move.l     -[A7], D4
  5563. 00003AD8  4EBA D930                jsr        [PC - 0x26D0 /* 0000140A */]
  5564. 00003ADC  2F0B                     move.l     -[A7], A3
  5565. 00003ADE  206E FFD4                movea.l    A0, [A6 - 0x2C]
  5566. 00003AE2  7000                     moveq.l    D0, 0x00
  5567. 00003AE4  1028 000E                move.b     D0, [A0 + 0xE]
  5568. 00003AE8  4A80                     tst.l      D0
  5569. 00003AEA  72FC                     moveq.l    D1, 0xFFFFFFFC
  5570. 00003AEC  C200                     and.b      D1, D0
  5571. 00003AEE  7000                     moveq.l    D0, 0x00
  5572. 00003AF0  1001                     move.b     D0, D1
  5573. 00003AF2  4A80                     tst.l      D0
  5574. 00003AF4  7201                     moveq.l    D1, 0x01
  5575. 00003AF6  8200                     or.b       D1, D0
  5576. 00003AF8  7000                     moveq.l    D0, 0x00
  5577. 00003AFA  1001                     move.b     D0, D1
  5578. 00003AFC  4A80                     tst.l      D0
  5579. 00003AFE  2F00                     move.l     -[A7], D0
  5580. 00003B00  7006                     moveq.l    D0, 0x06
  5581. 00003B02  2F00                     move.l     -[A7], D0
  5582. 00003B04  48C4                     ext.l      D4
  5583. 00003B06  2F04                     move.l     -[A7], D4
  5584. 00003B08  4EBA D900                jsr        [PC - 0x2700 /* 0000140A */]
  5585. 00003B0C  4FEF 0020                lea.l      A7, [A7 + 0x20]
  5586. 00003B10  6000 0A42                bra        +0xA44 /* 00004554 */
  5587. label00003B14:
  5588. 00003B14  206E FFC8                movea.l    A0, [A6 - 0x38]
  5589. 00003B18  3010                     move.w     D0, [A0]
  5590. 00003B1A  48C0                     ext.l      D0
  5591. 00003B1C  E580                     asl        D0, 2
  5592. 00003B1E  2F00                     move.l     -[A7], D0
  5593. 00003B20  7001                     moveq.l    D0, 0x01
  5594. 00003B22  2F00                     move.l     -[A7], D0
  5595. 00003B24  322C 001C                move.w     D1, [A4 + 0x1C]
  5596. 00003B28  48C1                     ext.l      D1
  5597. 00003B2A  2F01                     move.l     -[A7], D1
  5598. 00003B2C  4EBA CABE                jsr        [PC - 0x3542 /* 000005EC */]
  5599. 00003B30  4A40                     tst.w      D0
  5600. 00003B32  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5601. 00003B36  6608                     bne        +0xA /* 00003B40 */
  5602. 00003B38  3A3C E0A1                move.w     D5, 0xE0A1
  5603. 00003B3C  6000 0A16                bra        +0xA18 /* 00004554 */
  5604. label00003B40:
  5605. 00003B40  206E FFC8                movea.l    A0, [A6 - 0x38]
  5606. 00003B44  3028 0002                move.w     D0, [A0 + 0x2]
  5607. 00003B48  48C0                     ext.l      D0
  5608. 00003B4A  206E FFC8                movea.l    A0, [A6 - 0x38]
  5609. 00003B4E  2070 0C04                movea.l    A0, [A0 + D0 * 4 + 0x4]
  5610. 00003B52  A02A                     syscall    HUnlock
  5611. 00003B54  302C 001C                move.w     D0, [A4 + 0x1C]
  5612. 00003B58  48C0                     ext.l      D0
  5613. 00003B5A  5380                     subq.l     D0, 1
  5614. 00003B5C  4C7C 0800 0000 0004      movem.l    A3, 0x4
  5615. 00003B64  206E FFC8                movea.l    A0, [A6 - 0x38]
  5616. 00003B68  3140 0002                move.w     [A0 + 0x2], D0
  5617. 00003B6C  206E FFC8                movea.l    A0, [A6 - 0x38]
  5618. 00003B70  3028 0002                move.w     D0, [A0 + 0x2]
  5619. 00003B74  48C0                     ext.l      D0
  5620. 00003B76  206E FFC8                movea.l    A0, [A6 - 0x38]
  5621. 00003B7A  2070 0C04                movea.l    A0, [A0 + D0 * 4 + 0x4]
  5622. 00003B7E  A029                     syscall    HLock
  5623. 00003B80  206E FFC8                movea.l    A0, [A6 - 0x38]
  5624. 00003B84  3028 0002                move.w     D0, [A0 + 0x2]
  5625. 00003B88  48C0                     ext.l      D0
  5626. 00003B8A  206E FFC8                movea.l    A0, [A6 - 0x38]
  5627. 00003B8E  2070 0C04                movea.l    A0, [A0 + D0 * 4 + 0x4]
  5628. 00003B92  2650                     movea.l    A3, [A0]
  5629. 00003B94  302C 001C                move.w     D0, [A4 + 0x1C]
  5630. 00003B98  48C0                     ext.l      D0
  5631. 00003B9A  5380                     subq.l     D0, 1
  5632. 00003B9C  7203                     moveq.l    D1, 0x03
  5633. 00003B9E  C280                     and.l      D1, D0
  5634. 00003BA0  3741 0010                move.w     [A3 + 0x10], D1
  5635. 00003BA4  6000 09AE                bra        +0x9B0 /* 00004554 */
  5636. label00003BA8:
  5637. 00003BA8  4878 00FF                push.l     0xFF
  5638. 00003BAC  7000                     moveq.l    D0, 0x00
  5639. 00003BAE  2F00                     move.l     -[A7], D0
  5640. 00003BB0  322C 001C                move.w     D1, [A4 + 0x1C]
  5641. 00003BB4  48C1                     ext.l      D1
  5642. 00003BB6  2F01                     move.l     -[A7], D1
  5643. 00003BB8  4EBA CA32                jsr        [PC - 0x35CE /* 000005EC */]
  5644. 00003BBC  4A40                     tst.w      D0
  5645. 00003BBE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5646. 00003BC2  673E                     beq        +0x40 /* 00003C02 */
  5647. 00003BC4  4878 00FF                push.l     0xFF
  5648. 00003BC8  7000                     moveq.l    D0, 0x00
  5649. 00003BCA  2F00                     move.l     -[A7], D0
  5650. 00003BCC  322C 001E                move.w     D1, [A4 + 0x1E]
  5651. 00003BD0  48C1                     ext.l      D1
  5652. 00003BD2  2F01                     move.l     -[A7], D1
  5653. 00003BD4  4EBA CA16                jsr        [PC - 0x35EA /* 000005EC */]
  5654. 00003BD8  4A40                     tst.w      D0
  5655. 00003BDA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5656. 00003BDE  6722                     beq        +0x24 /* 00003C02 */
  5657. 00003BE0  2F0B                     move.l     -[A7], A3
  5658. 00003BE2  302C 001E                move.w     D0, [A4 + 0x1E]
  5659. 00003BE6  48C0                     ext.l      D0
  5660. 00003BE8  2F00                     move.l     -[A7], D0
  5661. 00003BEA  302C 001C                move.w     D0, [A4 + 0x1C]
  5662. 00003BEE  48C0                     ext.l      D0
  5663. 00003BF0  2F00                     move.l     -[A7], D0
  5664. 00003BF2  48C4                     ext.l      D4
  5665. 00003BF4  2F04                     move.l     -[A7], D4
  5666. 00003BF6  4EBA D812                jsr        [PC - 0x27EE /* 0000140A */]
  5667. 00003BFA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5668. 00003BFE  6000 0954                bra        +0x956 /* 00004554 */
  5669. label00003C02:
  5670. 00003C02  3A3C E0A0                move.w     D5, 0xE0A0
  5671. 00003C06  6000 094C                bra        +0x94E /* 00004554 */
  5672. label00003C0A:
  5673. 00003C0A  7AEF                     moveq.l    D5, 0xFFFFFFEF
  5674. 00003C0C  6000 0946                bra        +0x948 /* 00004554 */
  5675. label00003C10:
  5676. 00003C10  7AEF                     moveq.l    D5, 0xFFFFFFEF
  5677. 00003C12  6000 0940                bra        +0x942 /* 00004554 */
  5678. label00003C16:
  5679. 00003C16  4AAC 001C                tst.l      [A4 + 0x1C]
  5680. 00003C1A  6772                     beq        +0x74 /* 00003C8E */
  5681. 00003C1C  2F0B                     move.l     -[A7], A3
  5682. 00003C1E  206E FFD4                movea.l    A0, [A6 - 0x2C]
  5683. 00003C22  7000                     moveq.l    D0, 0x00
  5684. 00003C24  1028 0021                move.b     D0, [A0 + 0x21]
  5685. 00003C28  4A80                     tst.l      D0
  5686. 00003C2A  72BF                     moveq.l    D1, 0xFFFFFFBF
  5687. 00003C2C  C200                     and.b      D1, D0
  5688. 00003C2E  7000                     moveq.l    D0, 0x00
  5689. 00003C30  1001                     move.b     D0, D1
  5690. 00003C32  4A80                     tst.l      D0
  5691. 00003C34  2F00                     move.l     -[A7], D0
  5692. 00003C36  7000                     moveq.l    D0, 0x00
  5693. 00003C38  2F00                     move.l     -[A7], D0
  5694. 00003C3A  322E FFE8                move.w     D1, [A6 - 0x18]
  5695. 00003C3E  48C1                     ext.l      D1
  5696. 00003C40  2F01                     move.l     -[A7], D1
  5697. 00003C42  4EBA D7C6                jsr        [PC - 0x283A /* 0000140A */]
  5698. 00003C46  2F0B                     move.l     -[A7], A3
  5699. 00003C48  2F2C 001C                move.l     -[A7], [A4 + 0x1C]
  5700. 00003C4C  7001                     moveq.l    D0, 0x01
  5701. 00003C4E  2F00                     move.l     -[A7], D0
  5702. 00003C50  322E FFE8                move.w     D1, [A6 - 0x18]
  5703. 00003C54  48C1                     ext.l      D1
  5704. 00003C56  2F01                     move.l     -[A7], D1
  5705. 00003C58  4EBA DCC4                jsr        [PC - 0x233C /* 0000191E */]
  5706. 00003C5C  2F0B                     move.l     -[A7], A3
  5707. 00003C5E  206E FFD4                movea.l    A0, [A6 - 0x2C]
  5708. 00003C62  7000                     moveq.l    D0, 0x00
  5709. 00003C64  1028 0021                move.b     D0, [A0 + 0x21]
  5710. 00003C68  4A80                     tst.l      D0
  5711. 00003C6A  7240                     moveq.l    D1, 0x40
  5712. 00003C6C  8200                     or.b       D1, D0
  5713. 00003C6E  7000                     moveq.l    D0, 0x00
  5714. 00003C70  1001                     move.b     D0, D1
  5715. 00003C72  4A80                     tst.l      D0
  5716. 00003C74  2F00                     move.l     -[A7], D0
  5717. 00003C76  7000                     moveq.l    D0, 0x00
  5718. 00003C78  2F00                     move.l     -[A7], D0
  5719. 00003C7A  322E FFE8                move.w     D1, [A6 - 0x18]
  5720. 00003C7E  48C1                     ext.l      D1
  5721. 00003C80  2F01                     move.l     -[A7], D1
  5722. 00003C82  4EBA D786                jsr        [PC - 0x287A /* 0000140A */]
  5723. 00003C86  4FEF 0030                lea.l      A7, [A7 + 0x30]
  5724. 00003C8A  6000 08C8                bra        +0x8CA /* 00004554 */
  5725. label00003C8E:
  5726. 00003C8E  3A3C E09F                move.w     D5, 0xE09F
  5727. 00003C92  6000 08C0                bra        +0x8C2 /* 00004554 */
  5728. label00003C96:
  5729. 00003C96  7AEF                     moveq.l    D5, 0xFFFFFFEF
  5730. 00003C98  2013                     move.l     D0, [A3]
  5731. 00003C9A  D0BC 00F1 0000           add.l      D0, 0xF10000
  5732. 00003CA0  2D40 FFD8                move.l     [A6 - 0x28], D0
  5733. 00003CA4  206E FFCC                movea.l    A0, [A6 - 0x34]
  5734. 00003CA8  3028 0008                move.w     D0, [A0 + 0x8]
  5735. 00003CAC  7C01                     moveq.l    D6, 0x01
  5736. 00003CAE  E1AE                     lsl        D6, D0
  5737. 00003CB0  7001                     moveq.l    D0, 0x01
  5738. 00003CB2  2F00                     move.l     -[A7], D0
  5739. 00003CB4  722C                     moveq.l    D1, 0x2C
  5740. 00003CB6  2F01                     move.l     -[A7], D1
  5741. 00003CB8  2F2E FFD8                move.l     -[A7], [A6 - 0x28]
  5742. 00003CBC  4EBA C4CC                jsr        [PC - 0x3B34 /* 0000018A */]
  5743. 00003CC0  3206                     move.w     D1, D6
  5744. 00003CC2  4641                     not.w      D1
  5745. 00003CC4  48C1                     ext.l      D1
  5746. 00003CC6  C280                     and.l      D1, D0
  5747. 00003CC8  4A6C 001C                tst.w      [A4 + 0x1C]
  5748. 00003CCC  6704                     beq        +0x6 /* 00003CD2 */
  5749. 00003CCE  3006                     move.w     D0, D6
  5750. 00003CD0  6002                     bra        +0x4 /* 00003CD4 */
  5751. label00003CD2:
  5752. 00003CD2  7000                     moveq.l    D0, 0x00
  5753. label00003CD4:
  5754. 00003CD4  48C0                     ext.l      D0
  5755. 00003CD6  8081                     or.l       D0, D1
  5756. 00003CD8  3C00                     move.w     D6, D0
  5757. 00003CDA  7001                     moveq.l    D0, 0x01
  5758. 00003CDC  2F00                     move.l     -[A7], D0
  5759. 00003CDE  48C6                     ext.l      D6
  5760. 00003CE0  2F06                     move.l     -[A7], D6
  5761. 00003CE2  722C                     moveq.l    D1, 0x2C
  5762. 00003CE4  2F01                     move.l     -[A7], D1
  5763. 00003CE6  2F2E FFD8                move.l     -[A7], [A6 - 0x28]
  5764. 00003CEA  4EBA C42A                jsr        [PC - 0x3BD6 /* 00000116 */]
  5765. 00003CEE  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  5766. 00003CF2  6000 0860                bra        +0x862 /* 00004554 */
  5767. label00003CF6:
  5768. 00003CF6  7AEF                     moveq.l    D5, 0xFFFFFFEF
  5769. 00003CF8  6000 085A                bra        +0x85C /* 00004554 */
  5770. label00003CFC:
  5771. 00003CFC  7003                     moveq.l    D0, 0x03
  5772. 00003CFE  2F00                     move.l     -[A7], D0
  5773. 00003D00  7200                     moveq.l    D1, 0x00
  5774. 00003D02  2F01                     move.l     -[A7], D1
  5775. 00003D04  342C 001C                move.w     D2, [A4 + 0x1C]
  5776. 00003D08  48C2                     ext.l      D2
  5777. 00003D0A  2F02                     move.l     -[A7], D2
  5778. 00003D0C  4EBA C8DE                jsr        [PC - 0x3722 /* 000005EC */]
  5779. 00003D10  4A40                     tst.w      D0
  5780. 00003D12  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5781. 00003D16  6608                     bne        +0xA /* 00003D20 */
  5782. 00003D18  3A3C E09E                move.w     D5, 0xE09E
  5783. 00003D1C  6000 0836                bra        +0x838 /* 00004554 */
  5784. label00003D20:
  5785. 00003D20  2F0B                     move.l     -[A7], A3
  5786. 00003D22  206E FFD4                movea.l    A0, [A6 - 0x2C]
  5787. 00003D26  7000                     moveq.l    D0, 0x00
  5788. 00003D28  1028 0014                move.b     D0, [A0 + 0x14]
  5789. 00003D2C  4A80                     tst.l      D0
  5790. 00003D2E  729F                     moveq.l    D1, 0xFFFFFF9F
  5791. 00003D30  C200                     and.b      D1, D0
  5792. 00003D32  7000                     moveq.l    D0, 0x00
  5793. 00003D34  1001                     move.b     D0, D1
  5794. 00003D36  4A80                     tst.l      D0
  5795. 00003D38  322C 001C                move.w     D1, [A4 + 0x1C]
  5796. 00003D3C  48C1                     ext.l      D1
  5797. 00003D3E  EB89                     lsl        D1, 5
  5798. 00003D40  8280                     or.l       D1, D0
  5799. 00003D42  2F01                     move.l     -[A7], D1
  5800. 00003D44  700C                     moveq.l    D0, 0x0C
  5801. 00003D46  2F00                     move.l     -[A7], D0
  5802. 00003D48  48C4                     ext.l      D4
  5803. 00003D4A  2F04                     move.l     -[A7], D4
  5804. 00003D4C  4EBA D6BC                jsr        [PC - 0x2944 /* 0000140A */]
  5805. 00003D50  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5806. 00003D54  6000 07FE                bra        +0x800 /* 00004554 */
  5807. label00003D58:
  5808. 00003D58  2F0B                     move.l     -[A7], A3
  5809. 00003D5A  206E FFD4                movea.l    A0, [A6 - 0x2C]
  5810. 00003D5E  7000                     moveq.l    D0, 0x00
  5811. 00003D60  1028 0014                move.b     D0, [A0 + 0x14]
  5812. 00003D64  4A80                     tst.l      D0
  5813. 00003D66  323C FF7F                move.w     D1, 0xFF7F
  5814. 00003D6A  C240                     and.w      D1, D0
  5815. 00003D6C  7000                     moveq.l    D0, 0x00
  5816. 00003D6E  3001                     move.w     D0, D1
  5817. 00003D70  4A80                     tst.l      D0
  5818. 00003D72  4A6C 001C                tst.w      [A4 + 0x1C]
  5819. 00003D76  6708                     beq        +0xA /* 00003D80 */
  5820. 00003D78  223C 0000 0080           move.l     D1, 0x80
  5821. 00003D7E  6002                     bra        +0x4 /* 00003D82 */
  5822. label00003D80:
  5823. 00003D80  7200                     moveq.l    D1, 0x00
  5824. label00003D82:
  5825. 00003D82  7400                     moveq.l    D2, 0x00
  5826. 00003D84  1401                     move.b     D2, D1
  5827. 00003D86  4A82                     tst.l      D2
  5828. 00003D88  8440                     or.w       D2, D0
  5829. 00003D8A  2F02                     move.l     -[A7], D2
  5830. 00003D8C  700C                     moveq.l    D0, 0x0C
  5831. 00003D8E  2F00                     move.l     -[A7], D0
  5832. 00003D90  48C4                     ext.l      D4
  5833. 00003D92  2F04                     move.l     -[A7], D4
  5834. 00003D94  4EBA D674                jsr        [PC - 0x298C /* 0000140A */]
  5835. 00003D98  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5836. 00003D9C  6000 07B6                bra        +0x7B8 /* 00004554 */
  5837. label00003DA0:
  5838. 00003DA0  2F0B                     move.l     -[A7], A3
  5839. 00003DA2  206E FFD4                movea.l    A0, [A6 - 0x2C]
  5840. 00003DA6  7000                     moveq.l    D0, 0x00
  5841. 00003DA8  1028 0017                move.b     D0, [A0 + 0x17]
  5842. 00003DAC  4A80                     tst.l      D0
  5843. 00003DAE  72BF                     moveq.l    D1, 0xFFFFFFBF
  5844. 00003DB0  C200                     and.b      D1, D0
  5845. 00003DB2  7000                     moveq.l    D0, 0x00
  5846. 00003DB4  1001                     move.b     D0, D1
  5847. 00003DB6  4A80                     tst.l      D0
  5848. 00003DB8  4A6C 001C                tst.w      [A4 + 0x1C]
  5849. 00003DBC  6704                     beq        +0x6 /* 00003DC2 */
  5850. 00003DBE  7240                     moveq.l    D1, 0x40
  5851. 00003DC0  6002                     bra        +0x4 /* 00003DC4 */
  5852. label00003DC2:
  5853. 00003DC2  7200                     moveq.l    D1, 0x00
  5854. label00003DC4:
  5855. 00003DC4  49C1                     lea.l      A4, D1
  5856. 00003DC6  8200                     or.b       D1, D0
  5857. 00003DC8  2F01                     move.l     -[A7], D1
  5858. 00003DCA  700F                     moveq.l    D0, 0x0F
  5859. 00003DCC  2F00                     move.l     -[A7], D0
  5860. 00003DCE  48C4                     ext.l      D4
  5861. 00003DD0  2F04                     move.l     -[A7], D4
  5862. 00003DD2  4EBA D636                jsr        [PC - 0x29CA /* 0000140A */]
  5863. 00003DD6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5864. 00003DDA  6000 0778                bra        +0x77A /* 00004554 */
  5865. label00003DDE:
  5866. 00003DDE  7003                     moveq.l    D0, 0x03
  5867. 00003DE0  2F00                     move.l     -[A7], D0
  5868. 00003DE2  7200                     moveq.l    D1, 0x00
  5869. 00003DE4  2F01                     move.l     -[A7], D1
  5870. 00003DE6  342C 001C                move.w     D2, [A4 + 0x1C]
  5871. 00003DEA  48C2                     ext.l      D2
  5872. 00003DEC  2F02                     move.l     -[A7], D2
  5873. 00003DEE  4EBA C7FC                jsr        [PC - 0x3804 /* 000005EC */]
  5874. 00003DF2  4A40                     tst.w      D0
  5875. 00003DF4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5876. 00003DF8  6608                     bne        +0xA /* 00003E02 */
  5877. 00003DFA  3A3C E09C                move.w     D5, 0xE09C
  5878. 00003DFE  6000 0754                bra        +0x756 /* 00004554 */
  5879. label00003E02:
  5880. 00003E02  2F0B                     move.l     -[A7], A3
  5881. 00003E04  206E FFD4                movea.l    A0, [A6 - 0x2C]
  5882. 00003E08  7000                     moveq.l    D0, 0x00
  5883. 00003E0A  1028 0018                move.b     D0, [A0 + 0x18]
  5884. 00003E0E  4A80                     tst.l      D0
  5885. 00003E10  72FC                     moveq.l    D1, 0xFFFFFFFC
  5886. 00003E12  C200                     and.b      D1, D0
  5887. 00003E14  7000                     moveq.l    D0, 0x00
  5888. 00003E16  1001                     move.b     D0, D1
  5889. 00003E18  4A80                     tst.l      D0
  5890. 00003E1A  322C 001C                move.w     D1, [A4 + 0x1C]
  5891. 00003E1E  8240                     or.w       D1, D0
  5892. 00003E20  2F01                     move.l     -[A7], D1
  5893. 00003E22  7010                     moveq.l    D0, 0x10
  5894. 00003E24  2F00                     move.l     -[A7], D0
  5895. 00003E26  48C4                     ext.l      D4
  5896. 00003E28  2F04                     move.l     -[A7], D4
  5897. 00003E2A  4EBA D5DE                jsr        [PC - 0x2A22 /* 0000140A */]
  5898. 00003E2E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5899. 00003E32  6000 0720                bra        +0x722 /* 00004554 */
  5900. label00003E36:
  5901. 00003E36  2F0B                     move.l     -[A7], A3
  5902. 00003E38  206E FFD4                movea.l    A0, [A6 - 0x2C]
  5903. 00003E3C  7000                     moveq.l    D0, 0x00
  5904. 00003E3E  1028 000E                move.b     D0, [A0 + 0xE]
  5905. 00003E42  4A80                     tst.l      D0
  5906. 00003E44  72BF                     moveq.l    D1, 0xFFFFFFBF
  5907. 00003E46  C200                     and.b      D1, D0
  5908. 00003E48  7000                     moveq.l    D0, 0x00
  5909. 00003E4A  1001                     move.b     D0, D1
  5910. 00003E4C  4A80                     tst.l      D0
  5911. 00003E4E  4A6C 001C                tst.w      [A4 + 0x1C]
  5912. 00003E52  6704                     beq        +0x6 /* 00003E58 */
  5913. 00003E54  7240                     moveq.l    D1, 0x40
  5914. 00003E56  6002                     bra        +0x4 /* 00003E5A */
  5915. label00003E58:
  5916. 00003E58  7200                     moveq.l    D1, 0x00
  5917. label00003E5A:
  5918. 00003E5A  49C1                     lea.l      A4, D1
  5919. 00003E5C  8200                     or.b       D1, D0
  5920. 00003E5E  2F01                     move.l     -[A7], D1
  5921. 00003E60  7006                     moveq.l    D0, 0x06
  5922. 00003E62  2F00                     move.l     -[A7], D0
  5923. 00003E64  48C4                     ext.l      D4
  5924. 00003E66  2F04                     move.l     -[A7], D4
  5925. 00003E68  4EBA D5A0                jsr        [PC - 0x2A60 /* 0000140A */]
  5926. 00003E6C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5927. 00003E70  6000 06E2                bra        +0x6E4 /* 00004554 */
  5928. label00003E74:
  5929. 00003E74  7003                     moveq.l    D0, 0x03
  5930. 00003E76  2F00                     move.l     -[A7], D0
  5931. 00003E78  7200                     moveq.l    D1, 0x00
  5932. 00003E7A  2F01                     move.l     -[A7], D1
  5933. 00003E7C  342C 001C                move.w     D2, [A4 + 0x1C]
  5934. 00003E80  48C2                     ext.l      D2
  5935. 00003E82  2F02                     move.l     -[A7], D2
  5936. 00003E84  4EBA C766                jsr        [PC - 0x389A /* 000005EC */]
  5937. 00003E88  4A40                     tst.w      D0
  5938. 00003E8A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5939. 00003E8E  6608                     bne        +0xA /* 00003E98 */
  5940. 00003E90  3A3C E09B                move.w     D5, 0xE09B
  5941. 00003E94  6000 06BE                bra        +0x6C0 /* 00004554 */
  5942. label00003E98:
  5943. 00003E98  2F0B                     move.l     -[A7], A3
  5944. 00003E9A  206E FFD4                movea.l    A0, [A6 - 0x2C]
  5945. 00003E9E  7000                     moveq.l    D0, 0x00
  5946. 00003EA0  1028 000E                move.b     D0, [A0 + 0xE]
  5947. 00003EA4  4A80                     tst.l      D0
  5948. 00003EA6  72CF                     moveq.l    D1, 0xFFFFFFCF
  5949. 00003EA8  C200                     and.b      D1, D0
  5950. 00003EAA  7000                     moveq.l    D0, 0x00
  5951. 00003EAC  1001                     move.b     D0, D1
  5952. 00003EAE  4A80                     tst.l      D0
  5953. 00003EB0  322C 001C                move.w     D1, [A4 + 0x1C]
  5954. 00003EB4  48C1                     ext.l      D1
  5955. 00003EB6  E989                     lsl        D1, 4
  5956. 00003EB8  8280                     or.l       D1, D0
  5957. 00003EBA  2F01                     move.l     -[A7], D1
  5958. 00003EBC  7006                     moveq.l    D0, 0x06
  5959. 00003EBE  2F00                     move.l     -[A7], D0
  5960. 00003EC0  48C4                     ext.l      D4
  5961. 00003EC2  2F04                     move.l     -[A7], D4
  5962. 00003EC4  4EBA D544                jsr        [PC - 0x2ABC /* 0000140A */]
  5963. 00003EC8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5964. 00003ECC  6000 0686                bra        +0x688 /* 00004554 */
  5965. label00003ED0:
  5966. 00003ED0  7003                     moveq.l    D0, 0x03
  5967. 00003ED2  2F00                     move.l     -[A7], D0
  5968. 00003ED4  7200                     moveq.l    D1, 0x00
  5969. 00003ED6  2F01                     move.l     -[A7], D1
  5970. 00003ED8  342C 001C                move.w     D2, [A4 + 0x1C]
  5971. 00003EDC  48C2                     ext.l      D2
  5972. 00003EDE  2F02                     move.l     -[A7], D2
  5973. 00003EE0  4EBA C70A                jsr        [PC - 0x38F6 /* 000005EC */]
  5974. 00003EE4  4A40                     tst.w      D0
  5975. 00003EE6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5976. 00003EEA  6608                     bne        +0xA /* 00003EF4 */
  5977. 00003EEC  3A3C E09A                move.w     D5, 0xE09A
  5978. 00003EF0  6000 0662                bra        +0x664 /* 00004554 */
  5979. label00003EF4:
  5980. 00003EF4  2F0B                     move.l     -[A7], A3
  5981. 00003EF6  206E FFD4                movea.l    A0, [A6 - 0x2C]
  5982. 00003EFA  7000                     moveq.l    D0, 0x00
  5983. 00003EFC  1028 000E                move.b     D0, [A0 + 0xE]
  5984. 00003F00  4A80                     tst.l      D0
  5985. 00003F02  72F3                     moveq.l    D1, 0xFFFFFFF3
  5986. 00003F04  C200                     and.b      D1, D0
  5987. 00003F06  7000                     moveq.l    D0, 0x00
  5988. 00003F08  1001                     move.b     D0, D1
  5989. 00003F0A  4A80                     tst.l      D0
  5990. 00003F0C  322C 001C                move.w     D1, [A4 + 0x1C]
  5991. 00003F10  48C1                     ext.l      D1
  5992. 00003F12  E589                     lsl        D1, 2
  5993. 00003F14  8280                     or.l       D1, D0
  5994. 00003F16  2F01                     move.l     -[A7], D1
  5995. 00003F18  7006                     moveq.l    D0, 0x06
  5996. 00003F1A  2F00                     move.l     -[A7], D0
  5997. 00003F1C  48C4                     ext.l      D4
  5998. 00003F1E  2F04                     move.l     -[A7], D4
  5999. 00003F20  4EBA D4E8                jsr        [PC - 0x2B18 /* 0000140A */]
  6000. 00003F24  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6001. 00003F28  6000 062A                bra        +0x62C /* 00004554 */
  6002. label00003F2C:
  6003. 00003F2C  7003                     moveq.l    D0, 0x03
  6004. 00003F2E  2F00                     move.l     -[A7], D0
  6005. 00003F30  7200                     moveq.l    D1, 0x00
  6006. 00003F32  2F01                     move.l     -[A7], D1
  6007. 00003F34  342C 001C                move.w     D2, [A4 + 0x1C]
  6008. 00003F38  48C2                     ext.l      D2
  6009. 00003F3A  2F02                     move.l     -[A7], D2
  6010. 00003F3C  4EBA C6AE                jsr        [PC - 0x3952 /* 000005EC */]
  6011. 00003F40  4A40                     tst.w      D0
  6012. 00003F42  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6013. 00003F46  6608                     bne        +0xA /* 00003F50 */
  6014. 00003F48  3A3C E099                move.w     D5, 0xE099
  6015. 00003F4C  6000 0606                bra        +0x608 /* 00004554 */
  6016. label00003F50:
  6017. 00003F50  2F0B                     move.l     -[A7], A3
  6018. 00003F52  206E FFD4                movea.l    A0, [A6 - 0x2C]
  6019. 00003F56  7000                     moveq.l    D0, 0x00
  6020. 00003F58  1028 000E                move.b     D0, [A0 + 0xE]
  6021. 00003F5C  4A80                     tst.l      D0
  6022. 00003F5E  72FC                     moveq.l    D1, 0xFFFFFFFC
  6023. 00003F60  C200                     and.b      D1, D0
  6024. 00003F62  7000                     moveq.l    D0, 0x00
  6025. 00003F64  1001                     move.b     D0, D1
  6026. 00003F66  4A80                     tst.l      D0
  6027. 00003F68  322C 001C                move.w     D1, [A4 + 0x1C]
  6028. 00003F6C  8240                     or.w       D1, D0
  6029. 00003F6E  2F01                     move.l     -[A7], D1
  6030. 00003F70  7006                     moveq.l    D0, 0x06
  6031. 00003F72  2F00                     move.l     -[A7], D0
  6032. 00003F74  48C4                     ext.l      D4
  6033. 00003F76  2F04                     move.l     -[A7], D4
  6034. 00003F78  4EBA D490                jsr        [PC - 0x2B70 /* 0000140A */]
  6035. 00003F7C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6036. 00003F80  6000 05D2                bra        +0x5D4 /* 00004554 */
  6037. label00003F84:
  6038. 00003F84  7AEF                     moveq.l    D5, 0xFFFFFFEF
  6039. 00003F86  6000 05CC                bra        +0x5CE /* 00004554 */
  6040. label00003F8A:
  6041. 00003F8A  700F                     moveq.l    D0, 0x0F
  6042. 00003F8C  2F00                     move.l     -[A7], D0
  6043. 00003F8E  7201                     moveq.l    D1, 0x01
  6044. 00003F90  2F01                     move.l     -[A7], D1
  6045. 00003F92  342C 001C                move.w     D2, [A4 + 0x1C]
  6046. 00003F96  48C2                     ext.l      D2
  6047. 00003F98  2F02                     move.l     -[A7], D2
  6048. 00003F9A  4EBA C650                jsr        [PC - 0x39B0 /* 000005EC */]
  6049. 00003F9E  4A40                     tst.w      D0
  6050. 00003FA0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6051. 00003FA4  6606                     bne        +0x8 /* 00003FAC */
  6052. 00003FA6  7AEF                     moveq.l    D5, 0xFFFFFFEF
  6053. 00003FA8  6000 05AA                bra        +0x5AC /* 00004554 */
  6054. label00003FAC:
  6055. 00003FAC  3D6C 001C FFC2           move.w     [A6 - 0x3E], [A4 + 0x1C]
  6056. 00003FB2  302C 001E                move.w     D0, [A4 + 0x1E]
  6057. 00003FB6  E440                     asr        D0.w, 2
  6058. 00003FB8  3D40 FFC4                move.w     [A6 - 0x3C], D0
  6059. 00003FBC  302C 0020                move.w     D0, [A4 + 0x20]
  6060. 00003FC0  E440                     asr        D0.w, 2
  6061. 00003FC2  3D40 FFC6                move.w     [A6 - 0x3A], D0
  6062. 00003FC6  382C 0022                move.w     D4, [A4 + 0x22]
  6063. 00003FCA  E444                     asr        D4.w, 2
  6064. 00003FCC  1D7C 0001 FFE1           move.b     [A6 - 0x1F], 0x1
  6065. 00003FD2  41EE FFE1                lea.l      A0, [A6 - 0x1F]
  6066. 00003FD6  1010                     move.b     D0, [A0]
  6067. 00003FD8  A05D                     syscall    SwapMMUMode
  6068. 00003FDA  1080                     move.b     [A0], D0
  6069. 00003FDC  302E FFC2                move.w     D0, [A6 - 0x3E]
  6070. 00003FE0  48C0                     ext.l      D0
  6071. 00003FE2  206E FFDC                movea.l    A0, [A6 - 0x24]
  6072. 00003FE6  2140 0010                move.l     [A0 + 0x10], D0
  6073. 00003FEA  302E FFC4                move.w     D0, [A6 - 0x3C]
  6074. 00003FEE  48C0                     ext.l      D0
  6075. 00003FF0  206E FFDC                movea.l    A0, [A6 - 0x24]
  6076. 00003FF4  2140 0014                move.l     [A0 + 0x14], D0
  6077. 00003FF8  302E FFC6                move.w     D0, [A6 - 0x3A]
  6078. 00003FFC  48C0                     ext.l      D0
  6079. 00003FFE  206E FFDC                movea.l    A0, [A6 - 0x24]
  6080. 00004002  2140 0014                move.l     [A0 + 0x14], D0
  6081. 00004006  48C4                     ext.l      D4
  6082. 00004008  206E FFDC                movea.l    A0, [A6 - 0x24]
  6083. 0000400C  2144 0014                move.l     [A0 + 0x14], D4
  6084. 00004010  41EE FFE1                lea.l      A0, [A6 - 0x1F]
  6085. 00004014  1010                     move.b     D0, [A0]
  6086. 00004016  A05D                     syscall    SwapMMUMode
  6087. 00004018  1080                     move.b     [A0], D0
  6088. 0000401A  6000 0538                bra        +0x53A /* 00004554 */
  6089. label0000401E:
  6090. 0000401E  700F                     moveq.l    D0, 0x0F
  6091. 00004020  2F00                     move.l     -[A7], D0
  6092. 00004022  7200                     moveq.l    D1, 0x00
  6093. 00004024  2F01                     move.l     -[A7], D1
  6094. 00004026  342C 001C                move.w     D2, [A4 + 0x1C]
  6095. 0000402A  48C2                     ext.l      D2
  6096. 0000402C  2F02                     move.l     -[A7], D2
  6097. 0000402E  4EBA C5BC                jsr        [PC - 0x3A44 /* 000005EC */]
  6098. 00004032  4A40                     tst.w      D0
  6099. 00004034  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6100. 00004038  6606                     bne        +0x8 /* 00004040 */
  6101. 0000403A  7AEF                     moveq.l    D5, 0xFFFFFFEF
  6102. 0000403C  6000 0516                bra        +0x518 /* 00004554 */
  6103. label00004040:
  6104. 00004040  4A6C 001C                tst.w      [A4 + 0x1C]
  6105. 00004044  662A                     bne        +0x2C /* 00004070 */
  6106. 00004046  1D7C 0001 FFE1           move.b     [A6 - 0x1F], 0x1
  6107. 0000404C  41EE FFE1                lea.l      A0, [A6 - 0x1F]
  6108. 00004050  1010                     move.b     D0, [A0]
  6109. 00004052  A05D                     syscall    SwapMMUMode
  6110. 00004054  1080                     move.b     [A0], D0
  6111. 00004056  206E FFDC                movea.l    A0, [A6 - 0x24]
  6112. 0000405A  217C 0000 00A0 0018      move.l     [A0 + 0x18], 0xA0
  6113. 00004062  41EE FFE1                lea.l      A0, [A6 - 0x1F]
  6114. 00004066  1010                     move.b     D0, [A0]
  6115. 00004068  A05D                     syscall    SwapMMUMode
  6116. 0000406A  1080                     move.b     [A0], D0
  6117. 0000406C  6000 04E6                bra        +0x4E8 /* 00004554 */
  6118. label00004070:
  6119. 00004070  7001                     moveq.l    D0, 0x01
  6120. 00004072  2F00                     move.l     -[A7], D0
  6121. 00004074  7001                     moveq.l    D0, 0x01
  6122. 00004076  2F00                     move.l     -[A7], D0
  6123. 00004078  722D                     moveq.l    D1, 0x2D
  6124. 0000407A  2F01                     move.l     -[A7], D1
  6125. 0000407C  2F2E FFD8                move.l     -[A7], [A6 - 0x28]
  6126. 00004080  4EBA C108                jsr        [PC - 0x3EF8 /* 0000018A */]
  6127. 00004084  223C FFFF FF0F           move.l     D1, 0xFFFFFF0F
  6128. 0000408A  C280                     and.l      D1, D0
  6129. 0000408C  302C 001C                move.w     D0, [A4 + 0x1C]
  6130. 00004090  48C0                     ext.l      D0
  6131. 00004092  E988                     lsl        D0, 4
  6132. 00004094  8081                     or.l       D0, D1
  6133. 00004096  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6134. 0000409A  2F00                     move.l     -[A7], D0
  6135. 0000409C  702D                     moveq.l    D0, 0x2D
  6136. 0000409E  2F00                     move.l     -[A7], D0
  6137. 000040A0  2F2E FFD8                move.l     -[A7], [A6 - 0x28]
  6138. 000040A4  4EBA C070                jsr        [PC - 0x3F90 /* 00000116 */]
  6139. 000040A8  1D7C 0001 FFE1           move.b     [A6 - 0x1F], 0x1
  6140. 000040AE  41EE FFE1                lea.l      A0, [A6 - 0x1F]
  6141. 000040B2  1010                     move.b     D0, [A0]
  6142. 000040B4  A05D                     syscall    SwapMMUMode
  6143. 000040B6  1080                     move.b     [A0], D0
  6144. 000040B8  206E FFDC                movea.l    A0, [A6 - 0x24]
  6145. 000040BC  7000                     moveq.l    D0, 0x00
  6146. 000040BE  2140 0018                move.l     [A0 + 0x18], D0
  6147. 000040C2  41EE FFE1                lea.l      A0, [A6 - 0x1F]
  6148. 000040C6  1010                     move.b     D0, [A0]
  6149. 000040C8  A05D                     syscall    SwapMMUMode
  6150. 000040CA  1080                     move.b     [A0], D0
  6151. 000040CC  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6152. 000040D0  6000 0482                bra        +0x484 /* 00004554 */
  6153. label000040D4:
  6154. 000040D4  302C 0022                move.w     D0, [A4 + 0x22]
  6155. 000040D8  906C 001E                sub.w      D0, [A4 + 0x1E]
  6156. 000040DC  3D40 FFC6                move.w     [A6 - 0x3A], D0
  6157. 000040E0  382C 0020                move.w     D4, [A4 + 0x20]
  6158. 000040E4  986C 001C                sub.w      D4, [A4 + 0x1C]
  6159. 000040E8  206E FFCC                movea.l    A0, [A6 - 0x34]
  6160. 000040EC  3028 0006                move.w     D0, [A0 + 0x6]
  6161. 000040F0  48C0                     ext.l      D0
  6162. 000040F2  D080                     add.l      D0, D0
  6163. 000040F4  2F00                     move.l     -[A7], D0
  6164. 000040F6  206E FFCC                movea.l    A0, [A6 - 0x34]
  6165. 000040FA  3028 0004                move.w     D0, [A0 + 0x4]
  6166. 000040FE  48C0                     ext.l      D0
  6167. 00004100  D080                     add.l      D0, D0
  6168. 00004102  2F00                     move.l     -[A7], D0
  6169. 00004104  302C 001C                move.w     D0, [A4 + 0x1C]
  6170. 00004108  48C0                     ext.l      D0
  6171. 0000410A  2F00                     move.l     -[A7], D0
  6172. 0000410C  4EBA C4DE                jsr        [PC - 0x3B22 /* 000005EC */]
  6173. 00004110  4A40                     tst.w      D0
  6174. 00004112  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6175. 00004116  6700 008A                beq        +0x8C /* 000041A2 */
  6176. 0000411A  206E FFCC                movea.l    A0, [A6 - 0x34]
  6177. 0000411E  3028 0006                move.w     D0, [A0 + 0x6]
  6178. 00004122  48C0                     ext.l      D0
  6179. 00004124  D080                     add.l      D0, D0
  6180. 00004126  2F00                     move.l     -[A7], D0
  6181. 00004128  206E FFCC                movea.l    A0, [A6 - 0x34]
  6182. 0000412C  3028 0004                move.w     D0, [A0 + 0x4]
  6183. 00004130  48C0                     ext.l      D0
  6184. 00004132  D080                     add.l      D0, D0
  6185. 00004134  2F00                     move.l     -[A7], D0
  6186. 00004136  302C 0020                move.w     D0, [A4 + 0x20]
  6187. 0000413A  48C0                     ext.l      D0
  6188. 0000413C  5580                     subq.l     D0, 2
  6189. 0000413E  2F00                     move.l     -[A7], D0
  6190. 00004140  4EBA C4AA                jsr        [PC - 0x3B56 /* 000005EC */]
  6191. 00004144  4A40                     tst.w      D0
  6192. 00004146  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6193. 0000414A  6756                     beq        +0x58 /* 000041A2 */
  6194. 0000414C  206E FFCC                movea.l    A0, [A6 - 0x34]
  6195. 00004150  3028 0002                move.w     D0, [A0 + 0x2]
  6196. 00004154  48C0                     ext.l      D0
  6197. 00004156  2F00                     move.l     -[A7], D0
  6198. 00004158  206E FFCC                movea.l    A0, [A6 - 0x34]
  6199. 0000415C  3010                     move.w     D0, [A0]
  6200. 0000415E  48C0                     ext.l      D0
  6201. 00004160  2F00                     move.l     -[A7], D0
  6202. 00004162  302C 001E                move.w     D0, [A4 + 0x1E]
  6203. 00004166  48C0                     ext.l      D0
  6204. 00004168  2F00                     move.l     -[A7], D0
  6205. 0000416A  4EBA C480                jsr        [PC - 0x3B80 /* 000005EC */]
  6206. 0000416E  4A40                     tst.w      D0
  6207. 00004170  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6208. 00004174  672C                     beq        +0x2E /* 000041A2 */
  6209. 00004176  206E FFCC                movea.l    A0, [A6 - 0x34]
  6210. 0000417A  3028 0002                move.w     D0, [A0 + 0x2]
  6211. 0000417E  48C0                     ext.l      D0
  6212. 00004180  2F00                     move.l     -[A7], D0
  6213. 00004182  206E FFCC                movea.l    A0, [A6 - 0x34]
  6214. 00004186  3010                     move.w     D0, [A0]
  6215. 00004188  48C0                     ext.l      D0
  6216. 0000418A  2F00                     move.l     -[A7], D0
  6217. 0000418C  302C 0022                move.w     D0, [A4 + 0x22]
  6218. 00004190  48C0                     ext.l      D0
  6219. 00004192  5380                     subq.l     D0, 1
  6220. 00004194  2F00                     move.l     -[A7], D0
  6221. 00004196  4EBA C454                jsr        [PC - 0x3BAC /* 000005EC */]
  6222. 0000419A  4A40                     tst.w      D0
  6223. 0000419C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6224. 000041A0  6608                     bne        +0xA /* 000041AA */
  6225. label000041A2:
  6226. 000041A2  3A3C E0B7                move.w     D5, 0xE0B7
  6227. 000041A6  6000 03AC                bra        +0x3AE /* 00004554 */
  6228. label000041AA:
  6229. 000041AA  7008                     moveq.l    D0, 0x08
  6230. 000041AC  2F00                     move.l     -[A7], D0
  6231. 000041AE  7201                     moveq.l    D1, 0x01
  6232. 000041B0  2F01                     move.l     -[A7], D1
  6233. 000041B2  342C 0024                move.w     D2, [A4 + 0x24]
  6234. 000041B6  48C2                     ext.l      D2
  6235. 000041B8  2F02                     move.l     -[A7], D2
  6236. 000041BA  4EBA C430                jsr        [PC - 0x3BD0 /* 000005EC */]
  6237. 000041BE  4A40                     tst.w      D0
  6238. 000041C0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6239. 000041C4  6710                     beq        +0x12 /* 000041D6 */
  6240. 000041C6  302E FFC6                move.w     D0, [A6 - 0x3A]
  6241. 000041CA  48C0                     ext.l      D0
  6242. 000041CC  81EC 0024                divs.w     D0, [A4 + 0x24]
  6243. 000041D0  0C40 0240                cmpi.w     D0, 0x240
  6244. 000041D4  6F08                     ble        +0xA /* 000041DE */
  6245. label000041D6:
  6246. 000041D6  3A3C E0B6                move.w     D5, 0xE0B6
  6247. 000041DA  6000 0378                bra        +0x37A /* 00004554 */
  6248. label000041DE:
  6249. 000041DE  7001                     moveq.l    D0, 0x01
  6250. 000041E0  B06C 0026                cmp.w      D0, [A4 + 0x26]
  6251. 000041E4  6728                     beq        +0x2A /* 0000420E */
  6252. 000041E6  7002                     moveq.l    D0, 0x02
  6253. 000041E8  B06C 0026                cmp.w      D0, [A4 + 0x26]
  6254. 000041EC  6720                     beq        +0x22 /* 0000420E */
  6255. 000041EE  7004                     moveq.l    D0, 0x04
  6256. 000041F0  B06C 0026                cmp.w      D0, [A4 + 0x26]
  6257. 000041F4  6718                     beq        +0x1A /* 0000420E */
  6258. 000041F6  7006                     moveq.l    D0, 0x06
  6259. 000041F8  B06C 0026                cmp.w      D0, [A4 + 0x26]
  6260. 000041FC  6710                     beq        +0x12 /* 0000420E */
  6261. 000041FE  7008                     moveq.l    D0, 0x08
  6262. 00004200  B06C 0026                cmp.w      D0, [A4 + 0x26]
  6263. 00004204  6708                     beq        +0xA /* 0000420E */
  6264. 00004206  3A3C E0B5                move.w     D5, 0xE0B5
  6265. 0000420A  6000 0348                bra        +0x34A /* 00004554 */
  6266. label0000420E:
  6267. 0000420E  3004                     move.w     D0, D4
  6268. 00004210  48C0                     ext.l      D0
  6269. 00004212  81EC 0026                divs.w     D0, [A4 + 0x26]
  6270. 00004216  0C40 00D8                cmpi.w     D0, 0xD8
  6271. 0000421A  6F08                     ble        +0xA /* 00004224 */
  6272. 0000421C  3A3C E0B5                move.w     D5, 0xE0B5
  6273. 00004220  6000 0332                bra        +0x334 /* 00004554 */
  6274. label00004224:
  6275. 00004224  7001                     moveq.l    D0, 0x01
  6276. 00004226  C06C 001C                and.w      D0, [A4 + 0x1C]
  6277. 0000422A  7200                     moveq.l    D1, 0x00
  6278. 0000422C  3200                     move.w     D1, D0
  6279. 0000422E  4A81                     tst.l      D1
  6280. 00004230  660E                     bne        +0x10 /* 00004240 */
  6281. 00004232  7001                     moveq.l    D0, 0x01
  6282. 00004234  C06C 0020                and.w      D0, [A4 + 0x20]
  6283. 00004238  7200                     moveq.l    D1, 0x00
  6284. 0000423A  3200                     move.w     D1, D0
  6285. 0000423C  4A81                     tst.l      D1
  6286. 0000423E  6708                     beq        +0xA /* 00004248 */
  6287. label00004240:
  6288. 00004240  3A3C E0B3                move.w     D5, 0xE0B3
  6289. 00004244  6000 030E                bra        +0x310 /* 00004554 */
  6290. label00004248:
  6291. 00004248  4A6C 0028                tst.w      [A4 + 0x28]
  6292. 0000424C  6718                     beq        +0x1A /* 00004266 */
  6293. 0000424E  7001                     moveq.l    D0, 0x01
  6294. 00004250  B06C 0028                cmp.w      D0, [A4 + 0x28]
  6295. 00004254  6710                     beq        +0x12 /* 00004266 */
  6296. 00004256  7002                     moveq.l    D0, 0x02
  6297. 00004258  B06C 0028                cmp.w      D0, [A4 + 0x28]
  6298. 0000425C  6708                     beq        +0xA /* 00004266 */
  6299. 0000425E  3A3C E0B2                move.w     D5, 0xE0B2
  6300. 00004262  6000 02F0                bra        +0x2F2 /* 00004554 */
  6301. label00004266:
  6302. 00004266  2F0B                     move.l     -[A7], A3
  6303. 00004268  4EBA C3FA                jsr        [PC - 0x3C06 /* 00000664 */]
  6304. 0000426C  3D40 FFE6                move.w     [A6 - 0x1A], D0
  6305. 00004270  7003                     moveq.l    D0, 0x03
  6306. 00004272  2F00                     move.l     -[A7], D0
  6307. 00004274  7208                     moveq.l    D1, 0x08
  6308. 00004276  2F01                     move.l     -[A7], D1
  6309. 00004278  2F07                     move.l     -[A7], D7
  6310. 0000427A  4EBA BE3C                jsr        [PC - 0x41C4 /* 000000B8 */]
  6311. 0000427E  2D40 FFE2                move.l     [A6 - 0x1E], D0
  6312. 00004282  202E FFE2                move.l     D0, [A6 - 0x1E]
  6313. 00004286  4C7C 0801 0000 0240      movem.l    D0,A3, 0x240
  6314. 0000428E  3D41 FFBE                move.w     [A6 - 0x42], D1
  6315. 00004292  202E FFE2                move.l     D0, [A6 - 0x1E]
  6316. 00004296  4C7C 0800 0000 0240      movem.l    A3, 0x240
  6317. 0000429E  3800                     move.w     D4, D0
  6318. 000042A0  7006                     moveq.l    D0, 0x06
  6319. 000042A2  2F00                     move.l     -[A7], D0
  6320. 000042A4  720F                     moveq.l    D1, 0x0F
  6321. 000042A6  2F01                     move.l     -[A7], D1
  6322. 000042A8  2F07                     move.l     -[A7], D7
  6323. 000042AA  4EBA C860                jsr        [PC - 0x37A0 /* 00000B0C */]
  6324. 000042AE  4A40                     tst.w      D0
  6325. 000042B0  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  6326. 000042B4  660E                     bne        +0x10 /* 000042C4 */
  6327. 000042B6  2F07                     move.l     -[A7], D7
  6328. 000042B8  4EBA C936                jsr        [PC - 0x36CA /* 00000BF0 */]
  6329. 000042BC  5340                     subq.w     D0, 1
  6330. 000042BE  916E FFBE                sub.w      [A6 - 0x42], D0
  6331. 000042C2  584F                     addq.w     A7, 4
  6332. label000042C4:
  6333. 000042C4  7007                     moveq.l    D0, 0x07
  6334. 000042C6  2F00                     move.l     -[A7], D0
  6335. 000042C8  720F                     moveq.l    D1, 0x0F
  6336. 000042CA  2F01                     move.l     -[A7], D1
  6337. 000042CC  2F07                     move.l     -[A7], D7
  6338. 000042CE  4EBA C83C                jsr        [PC - 0x37C4 /* 00000B0C */]
  6339. 000042D2  4A40                     tst.w      D0
  6340. 000042D4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6341. 000042D8  660C                     bne        +0xE /* 000042E6 */
  6342. 000042DA  2F07                     move.l     -[A7], D7
  6343. 000042DC  4EBA C87A                jsr        [PC - 0x3786 /* 00000B58 */]
  6344. 000042E0  5340                     subq.w     D0, 1
  6345. 000042E2  D840                     add.w      D4, D0
  6346. 000042E4  584F                     addq.w     A7, 4
  6347. label000042E6:
  6348. 000042E6  7001                     moveq.l    D0, 0x01
  6349. 000042E8  B06C 0028                cmp.w      D0, [A4 + 0x28]
  6350. 000042EC  6618                     bne        +0x1A /* 00004306 */
  6351. 000042EE  7000                     moveq.l    D0, 0x00
  6352. 000042F0  2F00                     move.l     -[A7], D0
  6353. 000042F2  7201                     moveq.l    D1, 0x01
  6354. 000042F4  2F01                     move.l     -[A7], D1
  6355. 000042F6  700E                     moveq.l    D0, 0x0E
  6356. 000042F8  2F00                     move.l     -[A7], D0
  6357. 000042FA  2F07                     move.l     -[A7], D7
  6358. 000042FC  4EBA C314                jsr        [PC - 0x3CEC /* 00000612 */]
  6359. 00004300  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6360. 00004304  6014                     bra        +0x16 /* 0000431A */
  6361. label00004306:
  6362. 00004306  7001                     moveq.l    D0, 0x01
  6363. 00004308  2F00                     move.l     -[A7], D0
  6364. 0000430A  2F00                     move.l     -[A7], D0
  6365. 0000430C  720E                     moveq.l    D1, 0x0E
  6366. 0000430E  2F01                     move.l     -[A7], D1
  6367. 00004310  2F07                     move.l     -[A7], D7
  6368. 00004312  4EBA C2FE                jsr        [PC - 0x3D02 /* 00000612 */]
  6369. 00004316  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6370. label0000431A:
  6371. 0000431A  7002                     moveq.l    D0, 0x02
  6372. 0000431C  2F00                     move.l     -[A7], D0
  6373. 0000431E  322C 001E                move.w     D1, [A4 + 0x1E]
  6374. 00004322  48C1                     ext.l      D1
  6375. 00004324  2F01                     move.l     -[A7], D1
  6376. 00004326  7200                     moveq.l    D1, 0x00
  6377. 00004328  2F01                     move.l     -[A7], D1
  6378. 0000432A  2F07                     move.l     -[A7], D7
  6379. 0000432C  4EBA BD32                jsr        [PC - 0x42CE /* 00000060 */]
  6380. 00004330  7002                     moveq.l    D0, 0x02
  6381. 00004332  2F00                     move.l     -[A7], D0
  6382. 00004334  322C 0022                move.w     D1, [A4 + 0x22]
  6383. 00004338  48C1                     ext.l      D1
  6384. 0000433A  342C 001E                move.w     D2, [A4 + 0x1E]
  6385. 0000433E  48C2                     ext.l      D2
  6386. 00004340  9282                     sub.l      D1, D2
  6387. 00004342  2F01                     move.l     -[A7], D1
  6388. 00004344  2F00                     move.l     -[A7], D0
  6389. 00004346  2F07                     move.l     -[A7], D7
  6390. 00004348  4EBA BD16                jsr        [PC - 0x42EA /* 00000060 */]
  6391. 0000434C  7002                     moveq.l    D0, 0x02
  6392. 0000434E  2F00                     move.l     -[A7], D0
  6393. 00004350  322C 001C                move.w     D1, [A4 + 0x1C]
  6394. 00004354  48C1                     ext.l      D1
  6395. 00004356  2F01                     move.l     -[A7], D1
  6396. 00004358  7204                     moveq.l    D1, 0x04
  6397. 0000435A  2F01                     move.l     -[A7], D1
  6398. 0000435C  2F07                     move.l     -[A7], D7
  6399. 0000435E  4EBA BD00                jsr        [PC - 0x4300 /* 00000060 */]
  6400. 00004362  7002                     moveq.l    D0, 0x02
  6401. 00004364  2F00                     move.l     -[A7], D0
  6402. 00004366  322C 001C                move.w     D1, [A4 + 0x1C]
  6403. 0000436A  48C1                     ext.l      D1
  6404. 0000436C  342C 0020                move.w     D2, [A4 + 0x20]
  6405. 00004370  48C2                     ext.l      D2
  6406. 00004372  9282                     sub.l      D1, D2
  6407. 00004374  4C7C 1801 0000 0002      movem.l    D0,A3,A4, 0x2
  6408. 0000437C  2F01                     move.l     -[A7], D1
  6409. 0000437E  7206                     moveq.l    D1, 0x06
  6410. 00004380  2F01                     move.l     -[A7], D1
  6411. 00004382  2F07                     move.l     -[A7], D7
  6412. 00004384  4EBA BCDA                jsr        [PC - 0x4326 /* 00000060 */]
  6413. 00004388  302C 0026                move.w     D0, [A4 + 0x26]
  6414. 0000438C  5340                     subq.w     D0, 1
  6415. 0000438E  4FEF 0040                lea.l      A7, [A7 + 0x40]
  6416. 00004392  6B32                     bmi        +0x34 /* 000043C6 */
  6417. 00004394  0C40 0007                cmpi.w     D0, 0x7
  6418. 00004398  6E2C                     bgt        +0x2E /* 000043C6 */
  6419. 0000439A  D040                     add.w      D0, D0
  6420. 0000439C  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  6421. 000043A0  4EFB 0000                jmp        [PC + D0.w]
  6422. 000043A4  0012 0016                ori.b      [A2], 0x16
  6423. 000043A8  0024 001A                ori.b      -[A4], 0x1A
  6424. 000043AC  0024 001E                ori.b      -[A4], 0x1E
  6425. 000043B0  0024 0022                ori.b      -[A4], 0x22 /* '\"' */
  6426. 000043B4  7C0B                     moveq.l    D6, 0x0B
  6427. 000043B6  600E                     bra        +0x10 /* 000043C6 */
  6428. 000043B8  7C03                     moveq.l    D6, 0x03
  6429. 000043BA  600A                     bra        +0xC /* 000043C6 */
  6430. 000043BC  7C02                     moveq.l    D6, 0x02
  6431. 000043BE  6006                     bra        +0x8 /* 000043C6 */
  6432. 000043C0  7C01                     moveq.l    D6, 0x01
  6433. 000043C2  6002                     bra        +0x4 /* 000043C6 */
  6434. 000043C4  4246                     clr.w      D6
  6435. label000043C6:
  6436. 000043C6  7001                     moveq.l    D0, 0x01
  6437. 000043C8  2F00                     move.l     -[A7], D0
  6438. 000043CA  48C6                     ext.l      D6
  6439. 000043CC  2206                     move.l     D1, D6
  6440. 000043CE  E989                     lsl        D1, 4
  6441. 000043D0  342C 0024                move.w     D2, [A4 + 0x24]
  6442. 000043D4  48C2                     ext.l      D2
  6443. 000043D6  7608                     moveq.l    D3, 0x08
  6444. 000043D8  9682                     sub.l      D3, D2
  6445. 000043DA  8681                     or.l       D3, D1
  6446. 000043DC  2F03                     move.l     -[A7], D3
  6447. 000043DE  720D                     moveq.l    D1, 0x0D
  6448. 000043E0  2F01                     move.l     -[A7], D1
  6449. 000043E2  2F07                     move.l     -[A7], D7
  6450. 000043E4  4EBA BC7A                jsr        [PC - 0x4386 /* 00000060 */]
  6451. 000043E8  7006                     moveq.l    D0, 0x06
  6452. 000043EA  2F00                     move.l     -[A7], D0
  6453. 000043EC  720F                     moveq.l    D1, 0x0F
  6454. 000043EE  2F01                     move.l     -[A7], D1
  6455. 000043F0  2F07                     move.l     -[A7], D7
  6456. 000043F2  4EBA C718                jsr        [PC - 0x38E8 /* 00000B0C */]
  6457. 000043F6  4A40                     tst.w      D0
  6458. 000043F8  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  6459. 000043FC  660E                     bne        +0x10 /* 0000440C */
  6460. 000043FE  2F07                     move.l     -[A7], D7
  6461. 00004400  4EBA C7EE                jsr        [PC - 0x3812 /* 00000BF0 */]
  6462. 00004404  5340                     subq.w     D0, 1
  6463. 00004406  D16E FFBE                add.w      [A6 - 0x42], D0
  6464. 0000440A  584F                     addq.w     A7, 4
  6465. label0000440C:
  6466. 0000440C  7007                     moveq.l    D0, 0x07
  6467. 0000440E  2F00                     move.l     -[A7], D0
  6468. 00004410  720F                     moveq.l    D1, 0x0F
  6469. 00004412  2F01                     move.l     -[A7], D1
  6470. 00004414  2F07                     move.l     -[A7], D7
  6471. 00004416  4EBA C6F4                jsr        [PC - 0x390C /* 00000B0C */]
  6472. 0000441A  4A40                     tst.w      D0
  6473. 0000441C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6474. 00004420  660A                     bne        +0xC /* 0000442C */
  6475. 00004422  2F07                     move.l     -[A7], D7
  6476. 00004424  4EBA C732                jsr        [PC - 0x38CE /* 00000B58 */]
  6477. 00004428  9840                     sub.w      D4, D0
  6478. 0000442A  584F                     addq.w     A7, 4
  6479. label0000442C:
  6480. 0000442C  7003                     moveq.l    D0, 0x03
  6481. 0000442E  2F00                     move.l     -[A7], D0
  6482. 00004430  323C 0240                move.w     D1, 0x240
  6483. 00004434  C3C4                     muls.w     D1, D4
  6484. 00004436  342E FFBE                move.w     D2, [A6 - 0x42]
  6485. 0000443A  48C2                     ext.l      D2
  6486. 0000443C  D481                     add.l      D2, D1
  6487. 0000443E  2F02                     move.l     -[A7], D2
  6488. 00004440  7208                     moveq.l    D1, 0x08
  6489. 00004442  2F01                     move.l     -[A7], D1
  6490. 00004444  2F07                     move.l     -[A7], D7
  6491. 00004446  4EBA BC18                jsr        [PC - 0x43E8 /* 00000060 */]
  6492. 0000444A  2F07                     move.l     -[A7], D7
  6493. 0000444C  4EBA C7A2                jsr        [PC - 0x385E /* 00000BF0 */]
  6494. 00004450  3C00                     move.w     D6, D0
  6495. 00004452  0C46 00C8                cmpi.w     D6, 0xC8
  6496. 00004456  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6497. 0000445A  6E06                     bgt        +0x8 /* 00004462 */
  6498. 0000445C  7C18                     moveq.l    D6, 0x18
  6499. 0000445E  6000 009E                bra        +0xA0 /* 000044FE */
  6500. label00004462:
  6501. 00004462  0C46 012C                cmpi.w     D6, 0x12C
  6502. 00004466  6E06                     bgt        +0x8 /* 0000446E */
  6503. 00004468  7C18                     moveq.l    D6, 0x18
  6504. 0000446A  6000 0092                bra        +0x94 /* 000044FE */
  6505. label0000446E:
  6506. 0000446E  0C46 015E                cmpi.w     D6, 0x15E
  6507. 00004472  6E06                     bgt        +0x8 /* 0000447A */
  6508. 00004474  7C18                     moveq.l    D6, 0x18
  6509. 00004476  6000 0086                bra        +0x88 /* 000044FE */
  6510. label0000447A:
  6511. 0000447A  0C46 0190                cmpi.w     D6, 0x190
  6512. 0000447E  6E04                     bgt        +0x6 /* 00004484 */
  6513. 00004480  7C18                     moveq.l    D6, 0x18
  6514. 00004482  607A                     bra        +0x7C /* 000044FE */
  6515. label00004484:
  6516. 00004484  0C46 01C2                cmpi.w     D6, 0x1C2
  6517. 00004488  6E04                     bgt        +0x6 /* 0000448E */
  6518. 0000448A  7C18                     moveq.l    D6, 0x18
  6519. 0000448C  6070                     bra        +0x72 /* 000044FE */
  6520. label0000448E:
  6521. 0000448E  0C46 01F4                cmpi.w     D6, 0x1F4
  6522. 00004492  6E04                     bgt        +0x6 /* 00004498 */
  6523. 00004494  7C18                     moveq.l    D6, 0x18
  6524. 00004496  6066                     bra        +0x68 /* 000044FE */
  6525. label00004498:
  6526. 00004498  0C46 0226                cmpi.w     D6, 0x226
  6527. 0000449C  6E04                     bgt        +0x6 /* 000044A2 */
  6528. 0000449E  7C18                     moveq.l    D6, 0x18
  6529. 000044A0  605C                     bra        +0x5E /* 000044FE */
  6530. label000044A2:
  6531. 000044A2  0C46 0230                cmpi.w     D6, 0x230
  6532. 000044A6  6E04                     bgt        +0x6 /* 000044AC */
  6533. 000044A8  7C18                     moveq.l    D6, 0x18
  6534. 000044AA  6052                     bra        +0x54 /* 000044FE */
  6535. label000044AC:
  6536. 000044AC  0C46 023A                cmpi.w     D6, 0x23A
  6537. 000044B0  6E04                     bgt        +0x6 /* 000044B6 */
  6538. 000044B2  7C18                     moveq.l    D6, 0x18
  6539. 000044B4  6048                     bra        +0x4A /* 000044FE */
  6540. label000044B6:
  6541. 000044B6  0C46 0244                cmpi.w     D6, 0x244
  6542. 000044BA  6E04                     bgt        +0x6 /* 000044C0 */
  6543. 000044BC  7C18                     moveq.l    D6, 0x18
  6544. 000044BE  603E                     bra        +0x40 /* 000044FE */
  6545. label000044C0:
  6546. 000044C0  0C46 024E                cmpi.w     D6, 0x24E
  6547. 000044C4  6E04                     bgt        +0x6 /* 000044CA */
  6548. 000044C6  7C18                     moveq.l    D6, 0x18
  6549. 000044C8  6034                     bra        +0x36 /* 000044FE */
  6550. label000044CA:
  6551. 000044CA  0C46 0258                cmpi.w     D6, 0x258
  6552. 000044CE  6E04                     bgt        +0x6 /* 000044D4 */
  6553. 000044D0  7C18                     moveq.l    D6, 0x18
  6554. 000044D2  602A                     bra        +0x2C /* 000044FE */
  6555. label000044D4:
  6556. 000044D4  0C46 0262                cmpi.w     D6, 0x262
  6557. 000044D8  6E04                     bgt        +0x6 /* 000044DE */
  6558. 000044DA  7C18                     moveq.l    D6, 0x18
  6559. 000044DC  6020                     bra        +0x22 /* 000044FE */
  6560. label000044DE:
  6561. 000044DE  0C46 026C                cmpi.w     D6, 0x26C
  6562. 000044E2  6E04                     bgt        +0x6 /* 000044E8 */
  6563. 000044E4  7C18                     moveq.l    D6, 0x18
  6564. 000044E6  6016                     bra        +0x18 /* 000044FE */
  6565. label000044E8:
  6566. 000044E8  0C46 0276                cmpi.w     D6, 0x276
  6567. 000044EC  6E04                     bgt        +0x6 /* 000044F2 */
  6568. 000044EE  7C18                     moveq.l    D6, 0x18
  6569. 000044F0  600C                     bra        +0xE /* 000044FE */
  6570. label000044F2:
  6571. 000044F2  0C46 0280                cmpi.w     D6, 0x280
  6572. 000044F6  6E04                     bgt        +0x6 /* 000044FC */
  6573. 000044F8  7C18                     moveq.l    D6, 0x18
  6574. 000044FA  6002                     bra        +0x4 /* 000044FE */
  6575. label000044FC:
  6576. 000044FC  7C18                     moveq.l    D6, 0x18
  6577. label000044FE:
  6578. 000044FE  7001                     moveq.l    D0, 0x01
  6579. 00004500  2F00                     move.l     -[A7], D0
  6580. 00004502  720F                     moveq.l    D1, 0x0F
  6581. 00004504  2F01                     move.l     -[A7], D1
  6582. 00004506  2F07                     move.l     -[A7], D7
  6583. 00004508  4EBA BBAE                jsr        [PC - 0x4452 /* 000000B8 */]
  6584. 0000450C  72C0                     moveq.l    D1, 0xFFFFFFC0
  6585. 0000450E  C280                     and.l      D1, D0
  6586. 00004510  8C41                     or.w       D6, D1
  6587. 00004512  7001                     moveq.l    D0, 0x01
  6588. 00004514  2F00                     move.l     -[A7], D0
  6589. 00004516  48C6                     ext.l      D6
  6590. 00004518  2F06                     move.l     -[A7], D6
  6591. 0000451A  720F                     moveq.l    D1, 0x0F
  6592. 0000451C  2F01                     move.l     -[A7], D1
  6593. 0000451E  2F07                     move.l     -[A7], D7
  6594. 00004520  4EBA BB3E                jsr        [PC - 0x44C2 /* 00000060 */]
  6595. 00004524  4A6E FFE6                tst.w      [A6 - 0x1A]
  6596. 00004528  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  6597. 0000452C  6726                     beq        +0x28 /* 00004554 */
  6598. 0000452E  7001                     moveq.l    D0, 0x01
  6599. 00004530  2F00                     move.l     -[A7], D0
  6600. 00004532  7205                     moveq.l    D1, 0x05
  6601. 00004534  2F01                     move.l     -[A7], D1
  6602. 00004536  700E                     moveq.l    D0, 0x0E
  6603. 00004538  2F00                     move.l     -[A7], D0
  6604. 0000453A  2F07                     move.l     -[A7], D7
  6605. 0000453C  4EBA C0D4                jsr        [PC - 0x3F2C /* 00000612 */]
  6606. 00004540  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6607. 00004544  600E                     bra        +0x10 /* 00004554 */
  6608. label00004546:
  6609. 00004546  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  6610. 0000454A  4EBA E230                jsr        [PC - 0x1DD0 /* 0000277C */]
  6611. 0000454E  584F                     addq.w     A7, 4
  6612. 00004550  6002                     bra        +0x4 /* 00004554 */
  6613. label00004552:
  6614. 00004552  7AEF                     moveq.l    D5, 0xFFFFFFEF
  6615. label00004554:
  6616. 00004554  206E FFC8                movea.l    A0, [A6 - 0x38]
  6617. 00004558  3028 0002                move.w     D0, [A0 + 0x2]
  6618. 0000455C  48C0                     ext.l      D0
  6619. 0000455E  206E FFC8                movea.l    A0, [A6 - 0x38]
  6620. 00004562  2070 0C04                movea.l    A0, [A0 + D0 * 4 + 0x4]
  6621. 00004566  A02A                     syscall    HUnlock
  6622. 00004568  206E 0008                movea.l    A0, [A6 + 0x8]
  6623. 0000456C  2068 0014                movea.l    A0, [A0 + 0x14]
  6624. 00004570  A02A                     syscall    HUnlock
  6625. 00004572  3D45 0010                move.w     [A6 + 0x10], D5
  6626. label00004576:
  6627. 00004576  4CEE 18F8 FF96           movem.l    D3,D4,D5,D6,D7,A3,A4, [A6 - 0x6A]
  6628. 0000457C  4E5E                     unlink     A6
  6629. 0000457E  4E74 0008                rtd        0x0008
  6630. 00004582  4E56 FFCC                link       A6, -0x0034
  6631. 00004586  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  6632. 0000458A  266E 000C                movea.l    A3, [A6 + 0xC]
  6633. 0000458E  206E 0008                movea.l    A0, [A6 + 0x8]
  6634. 00004592  2068 0014                movea.l    A0, [A0 + 0x14]
  6635. 00004596  A029                     syscall    HLock
  6636. 00004598  206E 0008                movea.l    A0, [A6 + 0x8]
  6637. 0000459C  2068 0014                movea.l    A0, [A0 + 0x14]
  6638. 000045A0  2D50 FFD0                move.l     [A6 - 0x30], [A0]
  6639. 000045A4  206E FFD0                movea.l    A0, [A6 - 0x30]
  6640. 000045A8  3028 0002                move.w     D0, [A0 + 0x2]
  6641. 000045AC  48C0                     ext.l      D0
  6642. 000045AE  206E FFD0                movea.l    A0, [A6 - 0x30]
  6643. 000045B2  2070 0C04                movea.l    A0, [A0 + D0 * 4 + 0x4]
  6644. 000045B6  A029                     syscall    HLock
  6645. 000045B8  206E FFD0                movea.l    A0, [A6 - 0x30]
  6646. 000045BC  3028 0002                move.w     D0, [A0 + 0x2]
  6647. 000045C0  48C0                     ext.l      D0
  6648. 000045C2  206E FFD0                movea.l    A0, [A6 - 0x30]
  6649. 000045C6  2070 0C04                movea.l    A0, [A0 + D0 * 4 + 0x4]
  6650. 000045CA  2D50 FFD4                move.l     [A6 - 0x2C], [A0]
  6651. 000045CE  206E FFD4                movea.l    A0, [A6 - 0x2C]
  6652. 000045D2  4A68 000E                tst.w      [A0 + 0xE]
  6653. 000045D6  6630                     bne        +0x32 /* 00004608 */
  6654. 000045D8  0C6B 2350 001A           cmpi.w     [A3 + 0x1A], 0x2350 /* '#P' */
  6655. 000045DE  6728                     beq        +0x2A /* 00004608 */
  6656. 000045E0  7AEF                     moveq.l    D5, 0xFFFFFFEF
  6657. 000045E2  206E FFD0                movea.l    A0, [A6 - 0x30]
  6658. 000045E6  3028 0002                move.w     D0, [A0 + 0x2]
  6659. 000045EA  48C0                     ext.l      D0
  6660. 000045EC  206E FFD0                movea.l    A0, [A6 - 0x30]
  6661. 000045F0  2070 0C04                movea.l    A0, [A0 + D0 * 4 + 0x4]
  6662. 000045F4  A02A                     syscall    HUnlock
  6663. 000045F6  206E 0008                movea.l    A0, [A6 + 0x8]
  6664. 000045FA  2068 0014                movea.l    A0, [A0 + 0x14]
  6665. 000045FE  A02A                     syscall    HUnlock
  6666. 00004600  3D45 0010                move.w     [A6 + 0x10], D5
  6667. 00004604  6000 0ABA                bra        +0xABC /* 000050C0 */
  6668. label00004608:
  6669. 00004608  206E FFD4                movea.l    A0, [A6 - 0x2C]
  6670. 0000460C  4A68 000E                tst.w      [A0 + 0xE]
  6671. 00004610  6770                     beq        +0x72 /* 00004682 */
  6672. 00004612  206E FFD4                movea.l    A0, [A6 - 0x2C]
  6673. 00004616  3028 0010                move.w     D0, [A0 + 0x10]
  6674. 0000461A  48C0                     ext.l      D0
  6675. 0000461C  206E FFD4                movea.l    A0, [A6 - 0x2C]
  6676. 00004620  7216                     moveq.l    D1, 0x16
  6677. 00004622  4C01 0800                movem.w    A3, D1
  6678. 00004626  49F0 0812                lea.l      A4, [A0 + D0 + 0x12]
  6679. 0000462A  206E FFD4                movea.l    A0, [A6 - 0x2C]
  6680. 0000462E  2E2C 0012                move.l     D7, [A4 + 0x12]
  6681. 00004632  DE90                     add.l      D7, [A0]
  6682. 00004634  206E FFD4                movea.l    A0, [A6 - 0x2C]
  6683. 00004638  2C2C 000A                move.l     D6, [A4 + 0xA]
  6684. 0000463C  DC90                     add.l      D6, [A0]
  6685. 0000463E  206E FFD4                movea.l    A0, [A6 - 0x2C]
  6686. 00004642  202C 000E                move.l     D0, [A4 + 0xE]
  6687. 00004646  D090                     add.l      D0, [A0]
  6688. 00004648  2D40 FFE0                move.l     [A6 - 0x20], D0
  6689. 0000464C  302C 0008                move.w     D0, [A4 + 0x8]
  6690. 00004650  48C0                     ext.l      D0
  6691. 00004652  206E FFD4                movea.l    A0, [A6 - 0x2C]
  6692. 00004656  4C3C 0800 0000           movem.w    A3, 0x0
  6693. 0000465C  0122                     btst       -[A2], D0
  6694. 0000465E  41F0 086A                lea.l      A0, [A0 + D0 + 0x6A]
  6695. 00004662  2D48 FFD8                move.l     [A6 - 0x28], A0
  6696. 00004666  206E FFD8                movea.l    A0, [A6 - 0x28]
  6697. 0000466A  3D50 FFE8                move.w     [A6 - 0x18], [A0]
  6698. 0000466E  206E FFD8                movea.l    A0, [A6 - 0x28]
  6699. 00004672  3828 0002                move.w     D4, [A0 + 0x2]
  6700. 00004676  206E FFD4                movea.l    A0, [A6 - 0x2C]
  6701. 0000467A  2068 000A                movea.l    A0, [A0 + 0xA]
  6702. 0000467E  2D50 FFDC                move.l     [A6 - 0x24], [A0]
  6703. label00004682:
  6704. 00004682  4245                     clr.w      D5
  6705. 00004684  206E FFD4                movea.l    A0, [A6 - 0x2C]
  6706. 00004688  2810                     move.l     D4, [A0]
  6707. 0000468A  302B 001A                move.w     D0, [A3 + 0x1A]
  6708. 0000468E  0440 2329                subi.w     D0, 0x2329 /* '#)' */
  6709. 00004692  6B00 0A08                bmi        +0xA0A /* 0000509C */
  6710. 00004696  0C40 003A                cmpi.w     D0, 0x3A /* ':' */
  6711. 0000469A  6E00 0A00                bgt        +0xA02 /* 0000509C */
  6712. 0000469E  D040                     add.w      D0, D0
  6713. 000046A0  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  6714. 000046A4  4EFB 0000                jmp        [PC + D0.w]
  6715. 000046A8  0078 008E 00A6           ori.w      [0x000000A6], 0x8E
  6716. 000046AE  00CE                     .incomplete
  6717. 000046B0  00FA                     .incomplete
  6718. 000046B2  02FE                     .incomplete
  6719. 000046B4  0312                     btst       [A2], D1
  6720. 000046B6  09F6                     .incomplete
  6721. 000046B8  09F6                     .incomplete
  6722. 000046BA  09F6                     .incomplete
  6723. 000046BC  09F6                     .incomplete
  6724. 000046BE  0326                     btst       -[A6], D1
  6725. 000046C0  0446 09F6                subi.w     D6, 0x9F6
  6726. 000046C4  04A6 0538 0556           subi.l     -[A6], 0x5380556
  6727. 000046CA  0574 09F6                bchg       <<invalid full ext with IS == 1 and I/IS == 6>>, D2
  6728. 000046CE  09F6                     .incomplete
  6729. 000046D0  09F6                     .incomplete
  6730. 000046D2  09F6                     .incomplete
  6731. 000046D4  09F6                     .incomplete
  6732. 000046D6  0592                     bclr       [A2], D2
  6733. 000046D8  0598                     bclr       [A0]+, D2
  6734. 000046DA  05BE                     bclr       <<invalid special address>>, D2
  6735. 000046DC  09F6                     .incomplete
  6736. 000046DE  06C6                     .incomplete
  6737. 000046E0  06F2                     .incomplete
  6738. 000046E2  09F6                     .incomplete
  6739. 000046E4  07A4                     bclr       -[A4], D3
  6740. 000046E6  09F6                     .incomplete
  6741. 000046E8  09F6                     .incomplete
  6742. 000046EA  07E0                     .incomplete
  6743. 000046EC  07FA                     .incomplete
  6744. 000046EE  09F6                     .incomplete
  6745. 000046F0  09F6                     .incomplete
  6746. 000046F2  0800 09F6                btst.b     D0, 0xF6
  6747. 000046F6  080E 083E                btst.b     A6, 0x3E /* '>' */
  6748. 000046FA  087A 0880 0886           bchg.b     [PC + 0x886 /* 00004F82, value 0x4A 'J' */], 0x80
  6749. 00004700  09F6                     .incomplete
  6750. 00004702  08BA 08C0 08C6           bclr.b     [PC + 0x8C6 /* 00004FCA, value 0x37 '7', cstring "7@" */], 0xC0
  6751. 00004708  08E6 090A                bset.b     -[A6], 0xA /* '\n' */
  6752. 0000470C  09F6                     .incomplete
  6753. 0000470E  092C 094A                btst       [A4 + 0x94A], D4
  6754. 00004712  096C 098A                bchg       [A4 + 0x98A], D4
  6755. 00004716  09A8 09C4                bclr       [A0 + 0x9C4], D4
  6756. 0000471A  09C8                     .incomplete
  6757. 0000471C  09E8                     .incomplete
  6758. 0000471E  206E FFDC                movea.l    A0, [A6 - 0x24]
  6759. 00004722  1028 0329                move.b     D0, [A0 + 0x329]
  6760. 00004726  5300                     subq.b     D0, 1
  6761. 00004728  7201                     moveq.l    D1, 0x01
  6762. 0000472A  E1A9                     lsl        D1, D0
  6763. 0000472C  3741 001C                move.w     [A3 + 0x1C], D1
  6764. 00004730  6000 096C                bra        +0x96E /* 0000509E */
  6765. 00004734  206E FFDC                movea.l    A0, [A6 - 0x24]
  6766. 00004738  3768 032E 001C           move.w     [A3 + 0x1C], [A0 + 0x32E]
  6767. 0000473E  206E FFDC                movea.l    A0, [A6 - 0x24]
  6768. 00004742  3768 0330 001E           move.w     [A3 + 0x1E], [A0 + 0x330]
  6769. 00004748  6000 0954                bra        +0x956 /* 0000509E */
  6770. 0000474C  7001                     moveq.l    D0, 0x01
  6771. 0000474E  2F00                     move.l     -[A7], D0
  6772. 00004750  7202                     moveq.l    D1, 0x02
  6773. 00004752  2F01                     move.l     -[A7], D1
  6774. 00004754  2F06                     move.l     -[A7], D6
  6775. 00004756  4EBA BA32                jsr        [PC - 0x45CE /* 0000018A */]
  6776. 0000475A  7208                     moveq.l    D1, 0x08
  6777. 0000475C  C280                     and.l      D1, D0
  6778. 0000475E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6779. 00004762  6704                     beq        +0x6 /* 00004768 */
  6780. 00004764  7001                     moveq.l    D0, 0x01
  6781. 00004766  6002                     bra        +0x4 /* 0000476A */
  6782. label00004768:
  6783. 00004768  7000                     moveq.l    D0, 0x00
  6784. label0000476A:
  6785. 0000476A  4880                     ext.w      D0
  6786. 0000476C  3740 001C                move.w     [A3 + 0x1C], D0
  6787. 00004770  6000 092C                bra        +0x92E /* 0000509E */
  6788. 00004774  7001                     moveq.l    D0, 0x01
  6789. 00004776  2F00                     move.l     -[A7], D0
  6790. 00004778  7202                     moveq.l    D1, 0x02
  6791. 0000477A  2F01                     move.l     -[A7], D1
  6792. 0000477C  2F06                     move.l     -[A7], D6
  6793. 0000477E  4EBA BA0A                jsr        [PC - 0x45F6 /* 0000018A */]
  6794. 00004782  223C 0000 0080           move.l     D1, 0x80
  6795. 00004788  C280                     and.l      D1, D0
  6796. 0000478A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6797. 0000478E  6704                     beq        +0x6 /* 00004794 */
  6798. 00004790  7001                     moveq.l    D0, 0x01
  6799. 00004792  6002                     bra        +0x4 /* 00004796 */
  6800. label00004794:
  6801. 00004794  7000                     moveq.l    D0, 0x00
  6802. label00004796:
  6803. 00004796  4880                     ext.w      D0
  6804. 00004798  3740 001C                move.w     [A3 + 0x1C], D0
  6805. 0000479C  6000 0900                bra        +0x902 /* 0000509E */
  6806. 000047A0  206E FFD8                movea.l    A0, [A6 - 0x28]
  6807. 000047A4  3768 0006 001E           move.w     [A3 + 0x1E], [A0 + 0x6]
  6808. 000047AA  426B 001C                clr.w      [A3 + 0x1C]
  6809. 000047AE  2F2E FFD4                move.l     -[A7], [A6 - 0x2C]
  6810. 000047B2  4EBA BEB0                jsr        [PC - 0x4150 /* 00000664 */]
  6811. 000047B6  3C00                     move.w     D6, D0
  6812. 000047B8  2F2E FFD4                move.l     -[A7], [A6 - 0x2C]
  6813. 000047BC  7000                     moveq.l    D0, 0x00
  6814. 000047BE  2F00                     move.l     -[A7], D0
  6815. 000047C0  4EBA BFCE                jsr        [PC - 0x4032 /* 00000790 */]
  6816. 000047C4  7014                     moveq.l    D0, 0x14
  6817. 000047C6  2F00                     move.l     -[A7], D0
  6818. 000047C8  4EBA BA3E                jsr        [PC - 0x45C2 /* 00000208 */]
  6819. 000047CC  7000                     moveq.l    D0, 0x00
  6820. 000047CE  2D40 FFF0                move.l     [A6 - 0x10], D0
  6821. 000047D2  41EE FFEA                lea.l      A0, [A6 - 0x16]
  6822. 000047D6  A058                     syscall    InsTime
  6823. 000047D8  41EE FFEA                lea.l      A0, [A6 - 0x16]
  6824. 000047DC  203C FFFE 7960           move.l     D0, 0xFFFE7960
  6825. 000047E2  A05A                     syscall    PrimeTime
  6826. 000047E4  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6827. 000047E8  601E                     bra        +0x20 /* 00004808 */
  6828. label000047EA:
  6829. 000047EA  7000                     moveq.l    D0, 0x00
  6830. 000047EC  2F00                     move.l     -[A7], D0
  6831. 000047EE  720E                     moveq.l    D1, 0x0E
  6832. 000047F0  2F01                     move.l     -[A7], D1
  6833. 000047F2  2F07                     move.l     -[A7], D7
  6834. 000047F4  4EBA C316                jsr        [PC - 0x3CEA /* 00000B0C */]
  6835. 000047F8  4A40                     tst.w      D0
  6836. 000047FA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6837. 000047FE  6708                     beq        +0xA /* 00004808 */
  6838. 00004800  006B 0001 001C           ori.w      [A3 + 0x1C], 0x1
  6839. 00004806  6006                     bra        +0x8 /* 0000480E */
  6840. label00004808:
  6841. 00004808  4A6E FFEE                tst.w      [A6 - 0x12]
  6842. 0000480C  6DDC                     blt        -0x22 /* 000047EA */
  6843. label0000480E:
  6844. 0000480E  41EE FFEA                lea.l      A0, [A6 - 0x16]
  6845. 00004812  A059                     syscall    RmvTime
  6846. 00004814  2F2E FFD4                move.l     -[A7], [A6 - 0x2C]
  6847. 00004818  7001                     moveq.l    D0, 0x01
  6848. 0000481A  2F00                     move.l     -[A7], D0
  6849. 0000481C  4EBA BF72                jsr        [PC - 0x408E /* 00000790 */]
  6850. 00004820  7014                     moveq.l    D0, 0x14
  6851. 00004822  2F00                     move.l     -[A7], D0
  6852. 00004824  4EBA B9E2                jsr        [PC - 0x461E /* 00000208 */]
  6853. 00004828  7000                     moveq.l    D0, 0x00
  6854. 0000482A  2D40 FFF0                move.l     [A6 - 0x10], D0
  6855. 0000482E  41EE FFEA                lea.l      A0, [A6 - 0x16]
  6856. 00004832  A058                     syscall    InsTime
  6857. 00004834  41EE FFEA                lea.l      A0, [A6 - 0x16]
  6858. 00004838  203C FFFE 7960           move.l     D0, 0xFFFE7960
  6859. 0000483E  A05A                     syscall    PrimeTime
  6860. 00004840  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6861. 00004844  601E                     bra        +0x20 /* 00004864 */
  6862. label00004846:
  6863. 00004846  7000                     moveq.l    D0, 0x00
  6864. 00004848  2F00                     move.l     -[A7], D0
  6865. 0000484A  720E                     moveq.l    D1, 0x0E
  6866. 0000484C  2F01                     move.l     -[A7], D1
  6867. 0000484E  2F07                     move.l     -[A7], D7
  6868. 00004850  4EBA C2BA                jsr        [PC - 0x3D46 /* 00000B0C */]
  6869. 00004854  4A40                     tst.w      D0
  6870. 00004856  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6871. 0000485A  6708                     beq        +0xA /* 00004864 */
  6872. 0000485C  006B 0004 001C           ori.w      [A3 + 0x1C], 0x4
  6873. 00004862  6006                     bra        +0x8 /* 0000486A */
  6874. label00004864:
  6875. 00004864  4A6E FFEE                tst.w      [A6 - 0x12]
  6876. 00004868  6DDC                     blt        -0x22 /* 00004846 */
  6877. label0000486A:
  6878. 0000486A  41EE FFEA                lea.l      A0, [A6 - 0x16]
  6879. 0000486E  A059                     syscall    RmvTime
  6880. 00004870  2F2E FFD4                move.l     -[A7], [A6 - 0x2C]
  6881. 00004874  7004                     moveq.l    D0, 0x04
  6882. 00004876  2F00                     move.l     -[A7], D0
  6883. 00004878  4EBA BF16                jsr        [PC - 0x40EA /* 00000790 */]
  6884. 0000487C  7014                     moveq.l    D0, 0x14
  6885. 0000487E  2F00                     move.l     -[A7], D0
  6886. 00004880  4EBA B986                jsr        [PC - 0x467A /* 00000208 */]
  6887. 00004884  7000                     moveq.l    D0, 0x00
  6888. 00004886  2D40 FFF0                move.l     [A6 - 0x10], D0
  6889. 0000488A  41EE FFEA                lea.l      A0, [A6 - 0x16]
  6890. 0000488E  A058                     syscall    InsTime
  6891. 00004890  41EE FFEA                lea.l      A0, [A6 - 0x16]
  6892. 00004894  203C FFFE 7960           move.l     D0, 0xFFFE7960
  6893. 0000489A  A05A                     syscall    PrimeTime
  6894. 0000489C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6895. 000048A0  601E                     bra        +0x20 /* 000048C0 */
  6896. label000048A2:
  6897. 000048A2  7000                     moveq.l    D0, 0x00
  6898. 000048A4  2F00                     move.l     -[A7], D0
  6899. 000048A6  720E                     moveq.l    D1, 0x0E
  6900. 000048A8  2F01                     move.l     -[A7], D1
  6901. 000048AA  2F07                     move.l     -[A7], D7
  6902. 000048AC  4EBA C25E                jsr        [PC - 0x3DA2 /* 00000B0C */]
  6903. 000048B0  4A40                     tst.w      D0
  6904. 000048B2  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6905. 000048B6  6708                     beq        +0xA /* 000048C0 */
  6906. 000048B8  006B 0002 001C           ori.w      [A3 + 0x1C], 0x2
  6907. 000048BE  6006                     bra        +0x8 /* 000048C6 */
  6908. label000048C0:
  6909. 000048C0  4A6E FFEE                tst.w      [A6 - 0x12]
  6910. 000048C4  6DDC                     blt        -0x22 /* 000048A2 */
  6911. label000048C6:
  6912. 000048C6  41EE FFEA                lea.l      A0, [A6 - 0x16]
  6913. 000048CA  A059                     syscall    RmvTime
  6914. 000048CC  2F2E FFD4                move.l     -[A7], [A6 - 0x2C]
  6915. 000048D0  7005                     moveq.l    D0, 0x05
  6916. 000048D2  2F00                     move.l     -[A7], D0
  6917. 000048D4  4EBA BEBA                jsr        [PC - 0x4146 /* 00000790 */]
  6918. 000048D8  7014                     moveq.l    D0, 0x14
  6919. 000048DA  2F00                     move.l     -[A7], D0
  6920. 000048DC  4EBA B92A                jsr        [PC - 0x46D6 /* 00000208 */]
  6921. 000048E0  7000                     moveq.l    D0, 0x00
  6922. 000048E2  2D40 FFF0                move.l     [A6 - 0x10], D0
  6923. 000048E6  41EE FFEA                lea.l      A0, [A6 - 0x16]
  6924. 000048EA  A058                     syscall    InsTime
  6925. 000048EC  41EE FFEA                lea.l      A0, [A6 - 0x16]
  6926. 000048F0  203C FFFE 7960           move.l     D0, 0xFFFE7960
  6927. 000048F6  A05A                     syscall    PrimeTime
  6928. 000048F8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6929. 000048FC  601E                     bra        +0x20 /* 0000491C */
  6930. label000048FE:
  6931. 000048FE  7000                     moveq.l    D0, 0x00
  6932. 00004900  2F00                     move.l     -[A7], D0
  6933. 00004902  720E                     moveq.l    D1, 0x0E
  6934. 00004904  2F01                     move.l     -[A7], D1
  6935. 00004906  2F07                     move.l     -[A7], D7
  6936. 00004908  4EBA C202                jsr        [PC - 0x3DFE /* 00000B0C */]
  6937. 0000490C  4A40                     tst.w      D0
  6938. 0000490E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6939. 00004912  6708                     beq        +0xA /* 0000491C */
  6940. 00004914  006B 0002 001C           ori.w      [A3 + 0x1C], 0x2
  6941. 0000491A  6006                     bra        +0x8 /* 00004922 */
  6942. label0000491C:
  6943. 0000491C  4A6E FFEE                tst.w      [A6 - 0x12]
  6944. 00004920  6DDC                     blt        -0x22 /* 000048FE */
  6945. label00004922:
  6946. 00004922  41EE FFEA                lea.l      A0, [A6 - 0x16]
  6947. 00004926  A059                     syscall    RmvTime
  6948. 00004928  2F2E FFD4                move.l     -[A7], [A6 - 0x2C]
  6949. 0000492C  206E FFD8                movea.l    A0, [A6 - 0x28]
  6950. 00004930  3028 0006                move.w     D0, [A0 + 0x6]
  6951. 00004934  48C0                     ext.l      D0
  6952. 00004936  2F00                     move.l     -[A7], D0
  6953. 00004938  4EBA BE56                jsr        [PC - 0x41AA /* 00000790 */]
  6954. 0000493C  7014                     moveq.l    D0, 0x14
  6955. 0000493E  2F00                     move.l     -[A7], D0
  6956. 00004940  4EBA B8C6                jsr        [PC - 0x473A /* 00000208 */]
  6957. 00004944  7000                     moveq.l    D0, 0x00
  6958. 00004946  2D40 FFF0                move.l     [A6 - 0x10], D0
  6959. 0000494A  41EE FFEA                lea.l      A0, [A6 - 0x16]
  6960. 0000494E  A058                     syscall    InsTime
  6961. 00004950  41EE FFEA                lea.l      A0, [A6 - 0x16]
  6962. 00004954  203C FFFE 7960           move.l     D0, 0xFFFE7960
  6963. 0000495A  A05A                     syscall    PrimeTime
  6964. 0000495C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6965. 00004960  6016                     bra        +0x18 /* 00004978 */
  6966. label00004962:
  6967. 00004962  7000                     moveq.l    D0, 0x00
  6968. 00004964  2F00                     move.l     -[A7], D0
  6969. 00004966  720E                     moveq.l    D1, 0x0E
  6970. 00004968  2F01                     move.l     -[A7], D1
  6971. 0000496A  2F07                     move.l     -[A7], D7
  6972. 0000496C  4EBA C19E                jsr        [PC - 0x3E62 /* 00000B0C */]
  6973. 00004970  4A40                     tst.w      D0
  6974. 00004972  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6975. 00004976  6606                     bne        +0x8 /* 0000497E */
  6976. label00004978:
  6977. 00004978  4A6E FFEE                tst.w      [A6 - 0x12]
  6978. 0000497C  6DE4                     blt        -0x1A /* 00004962 */
  6979. label0000497E:
  6980. 0000497E  41EE FFEA                lea.l      A0, [A6 - 0x16]
  6981. 00004982  A059                     syscall    RmvTime
  6982. 00004984  4A46                     tst.w      D6
  6983. 00004986  6700 0716                beq        +0x718 /* 0000509E */
  6984. 0000498A  7001                     moveq.l    D0, 0x01
  6985. 0000498C  2F00                     move.l     -[A7], D0
  6986. 0000498E  7205                     moveq.l    D1, 0x05
  6987. 00004990  2F01                     move.l     -[A7], D1
  6988. 00004992  700E                     moveq.l    D0, 0x0E
  6989. 00004994  2F00                     move.l     -[A7], D0
  6990. 00004996  2F07                     move.l     -[A7], D7
  6991. 00004998  4EBA BC78                jsr        [PC - 0x4388 /* 00000612 */]
  6992. 0000499C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6993. 000049A0  6000 06FC                bra        +0x6FE /* 0000509E */
  6994. 000049A4  206E FFD8                movea.l    A0, [A6 - 0x28]
  6995. 000049A8  7000                     moveq.l    D0, 0x00
  6996. 000049AA  1028 000F                move.b     D0, [A0 + 0xF]
  6997. 000049AE  4A80                     tst.l      D0
  6998. 000049B0  3740 001C                move.w     [A3 + 0x1C], D0
  6999. 000049B4  6000 06E8                bra        +0x6EA /* 0000509E */
  7000. 000049B8  206E FFD8                movea.l    A0, [A6 - 0x28]
  7001. 000049BC  7000                     moveq.l    D0, 0x00
  7002. 000049BE  1028 0019                move.b     D0, [A0 + 0x19]
  7003. 000049C2  4A80                     tst.l      D0
  7004. 000049C4  3740 001C                move.w     [A3 + 0x1C], D0
  7005. 000049C8  6000 06D4                bra        +0x6D6 /* 0000509E */
  7006. 000049CC  7002                     moveq.l    D0, 0x02
  7007. 000049CE  2F00                     move.l     -[A7], D0
  7008. 000049D0  7200                     moveq.l    D1, 0x00
  7009. 000049D2  2F01                     move.l     -[A7], D1
  7010. 000049D4  2F07                     move.l     -[A7], D7
  7011. 000049D6  4EBA B6E0                jsr        [PC - 0x4920 /* 000000B8 */]
  7012. 000049DA  283C 0000 03FF           move.l     D4, 0x3FF
  7013. 000049E0  C880                     and.l      D4, D0
  7014. 000049E2  3744 001E                move.w     [A3 + 0x1E], D4
  7015. 000049E6  48C4                     ext.l      D4
  7016. 000049E8  7002                     moveq.l    D0, 0x02
  7017. 000049EA  2F00                     move.l     -[A7], D0
  7018. 000049EC  2F00                     move.l     -[A7], D0
  7019. 000049EE  2F07                     move.l     -[A7], D7
  7020. 000049F0  4EBA B6C6                jsr        [PC - 0x493A /* 000000B8 */]
  7021. 000049F4  D084                     add.l      D0, D4
  7022. 000049F6  223C 0000 03FF           move.l     D1, 0x3FF
  7023. 000049FC  C280                     and.l      D1, D0
  7024. 000049FE  3741 0022                move.w     [A3 + 0x22], D1
  7025. 00004A02  7002                     moveq.l    D0, 0x02
  7026. 00004A04  2F00                     move.l     -[A7], D0
  7027. 00004A06  7204                     moveq.l    D1, 0x04
  7028. 00004A08  2F01                     move.l     -[A7], D1
  7029. 00004A0A  2F07                     move.l     -[A7], D7
  7030. 00004A0C  4EBA B6AA                jsr        [PC - 0x4956 /* 000000B8 */]
  7031. 00004A10  283C 0000 03FF           move.l     D4, 0x3FF
  7032. 00004A16  C880                     and.l      D4, D0
  7033. 00004A18  3744 001C                move.w     [A3 + 0x1C], D4
  7034. 00004A1C  48C4                     ext.l      D4
  7035. 00004A1E  7002                     moveq.l    D0, 0x02
  7036. 00004A20  2F00                     move.l     -[A7], D0
  7037. 00004A22  7206                     moveq.l    D1, 0x06
  7038. 00004A24  2F01                     move.l     -[A7], D1
  7039. 00004A26  2F07                     move.l     -[A7], D7
  7040. 00004A28  4EBA B68E                jsr        [PC - 0x4972 /* 000000B8 */]
  7041. 00004A2C  D084                     add.l      D0, D4
  7042. 00004A2E  223C 0000 03FF           move.l     D1, 0x3FF
  7043. 00004A34  C280                     and.l      D1, D0
  7044. 00004A36  3741 0020                move.w     [A3 + 0x20], D1
  7045. 00004A3A  7006                     moveq.l    D0, 0x06
  7046. 00004A3C  2F00                     move.l     -[A7], D0
  7047. 00004A3E  720E                     moveq.l    D1, 0x0E
  7048. 00004A40  2F01                     move.l     -[A7], D1
  7049. 00004A42  2F07                     move.l     -[A7], D7
  7050. 00004A44  4EBA C0C6                jsr        [PC - 0x3F3A /* 00000B0C */]
  7051. 00004A48  4A40                     tst.w      D0
  7052. 00004A4A  4FEF 003C                lea.l      A7, [A7 + 0x3C]
  7053. 00004A4E  6708                     beq        +0xA /* 00004A58 */
  7054. 00004A50  377C 0002 0028           move.w     [A3 + 0x28], 0x2
  7055. 00004A56  6006                     bra        +0x8 /* 00004A5E */
  7056. label00004A58:
  7057. 00004A58  377C 0001 0028           move.w     [A3 + 0x28], 0x1
  7058. label00004A5E:
  7059. 00004A5E  48C4                     ext.l      D4
  7060. 00004A60  7001                     moveq.l    D0, 0x01
  7061. 00004A62  2F00                     move.l     -[A7], D0
  7062. 00004A64  720D                     moveq.l    D1, 0x0D
  7063. 00004A66  2F01                     move.l     -[A7], D1
  7064. 00004A68  2F07                     move.l     -[A7], D7
  7065. 00004A6A  4EBA B64C                jsr        [PC - 0x49B4 /* 000000B8 */]
  7066. 00004A6E  D084                     add.l      D0, D4
  7067. 00004A70  7007                     moveq.l    D0, 0x07
  7068. 00004A72  C044                     and.w      D0, D4
  7069. 00004A74  7208                     moveq.l    D1, 0x08
  7070. 00004A76  9240                     sub.w      D1, D0
  7071. 00004A78  3741 0024                move.w     [A3 + 0x24], D1
  7072. 00004A7C  303C 00B0                move.w     D0, 0xB0
  7073. 00004A80  C044                     and.w      D0, D4
  7074. 00004A82  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7075. 00004A86  672E                     beq        +0x30 /* 00004AB6 */
  7076. 00004A88  0440 0010                subi.w     D0, 0x10
  7077. 00004A8C  6732                     beq        +0x34 /* 00004AC0 */
  7078. 00004A8E  0440 0010                subi.w     D0, 0x10
  7079. 00004A92  6736                     beq        +0x38 /* 00004ACA */
  7080. 00004A94  0440 0010                subi.w     D0, 0x10
  7081. 00004A98  673A                     beq        +0x3C /* 00004AD4 */
  7082. 00004A9A  0440 0050                subi.w     D0, 0x50 /* 'P' */
  7083. 00004A9E  673E                     beq        +0x40 /* 00004ADE */
  7084. 00004AA0  0440 0010                subi.w     D0, 0x10
  7085. 00004AA4  6738                     beq        +0x3A /* 00004ADE */
  7086. 00004AA6  0440 0010                subi.w     D0, 0x10
  7087. 00004AAA  6732                     beq        +0x34 /* 00004ADE */
  7088. 00004AAC  0440 0010                subi.w     D0, 0x10
  7089. 00004AB0  672C                     beq        +0x2E /* 00004ADE */
  7090. 00004AB2  6000 05EA                bra        +0x5EC /* 0000509E */
  7091. label00004AB6:
  7092. 00004AB6  377C 0008 0026           move.w     [A3 + 0x26], 0x8
  7093. 00004ABC  6000 05E0                bra        +0x5E2 /* 0000509E */
  7094. label00004AC0:
  7095. 00004AC0  377C 0006 0026           move.w     [A3 + 0x26], 0x6
  7096. 00004AC6  6000 05D6                bra        +0x5D8 /* 0000509E */
  7097. label00004ACA:
  7098. 00004ACA  377C 0004 0026           move.w     [A3 + 0x26], 0x4
  7099. 00004AD0  6000 05CC                bra        +0x5CE /* 0000509E */
  7100. label00004AD4:
  7101. 00004AD4  377C 0002 0026           move.w     [A3 + 0x26], 0x2
  7102. 00004ADA  6000 05C2                bra        +0x5C4 /* 0000509E */
  7103. label00004ADE:
  7104. 00004ADE  377C 0001 0026           move.w     [A3 + 0x26], 0x1
  7105. 00004AE4  6000 05B8                bra        +0x5BA /* 0000509E */
  7106. 00004AE8  6000 05B4                bra        +0x5B6 /* 0000509E */
  7107. 00004AEC  206E FFD8                movea.l    A0, [A6 - 0x28]
  7108. 00004AF0  3768 0006 001E           move.w     [A3 + 0x1E], [A0 + 0x6]
  7109. 00004AF6  426B 001C                clr.w      [A3 + 0x1C]
  7110. 00004AFA  7014                     moveq.l    D0, 0x14
  7111. 00004AFC  2F00                     move.l     -[A7], D0
  7112. 00004AFE  4EBA B708                jsr        [PC - 0x48F8 /* 00000208 */]
  7113. 00004B02  7000                     moveq.l    D0, 0x00
  7114. 00004B04  2D40 FFF0                move.l     [A6 - 0x10], D0
  7115. 00004B08  41EE FFEA                lea.l      A0, [A6 - 0x16]
  7116. 00004B0C  A058                     syscall    InsTime
  7117. 00004B0E  41EE FFEA                lea.l      A0, [A6 - 0x16]
  7118. 00004B12  203C FFFE 7960           move.l     D0, 0xFFFE7960
  7119. 00004B18  A05A                     syscall    PrimeTime
  7120. 00004B1A  584F                     addq.w     A7, 4
  7121. 00004B1C  601E                     bra        +0x20 /* 00004B3C */
  7122. label00004B1E:
  7123. 00004B1E  7001                     moveq.l    D0, 0x01
  7124. 00004B20  2F00                     move.l     -[A7], D0
  7125. 00004B22  720E                     moveq.l    D1, 0x0E
  7126. 00004B24  2F01                     move.l     -[A7], D1
  7127. 00004B26  2F07                     move.l     -[A7], D7
  7128. 00004B28  4EBA BFE2                jsr        [PC - 0x401E /* 00000B0C */]
  7129. 00004B2C  4A40                     tst.w      D0
  7130. 00004B2E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7131. 00004B32  6708                     beq        +0xA /* 00004B3C */
  7132. 00004B34  006B 0001 001C           ori.w      [A3 + 0x1C], 0x1
  7133. 00004B3A  6006                     bra        +0x8 /* 00004B42 */
  7134. label00004B3C:
  7135. 00004B3C  4A6E FFEE                tst.w      [A6 - 0x12]
  7136. 00004B40  6DDC                     blt        -0x22 /* 00004B1E */
  7137. label00004B42:
  7138. 00004B42  41EE FFEA                lea.l      A0, [A6 - 0x16]
  7139. 00004B46  A059                     syscall    RmvTime
  7140. 00004B48  6000 0554                bra        +0x556 /* 0000509E */
  7141. 00004B4C  7003                     moveq.l    D0, 0x03
  7142. 00004B4E  2F00                     move.l     -[A7], D0
  7143. 00004B50  7208                     moveq.l    D1, 0x08
  7144. 00004B52  2F01                     move.l     -[A7], D1
  7145. 00004B54  2F07                     move.l     -[A7], D7
  7146. 00004B56  4EBA B560                jsr        [PC - 0x4AA0 /* 000000B8 */]
  7147. 00004B5A  2D40 FFE4                move.l     [A6 - 0x1C], D0
  7148. 00004B5E  202E FFE4                move.l     D0, [A6 - 0x1C]
  7149. 00004B62  4C7C 0801 0000 0240      movem.l    D0,A3, 0x240
  7150. 00004B6A  3D41 FFCC                move.w     [A6 - 0x34], D1
  7151. 00004B6E  202E FFE4                move.l     D0, [A6 - 0x1C]
  7152. 00004B72  4C7C 0800 0000 0240      movem.l    A3, 0x240
  7153. 00004B7A  3D40 FFCE                move.w     [A6 - 0x32], D0
  7154. 00004B7E  4246                     clr.w      D6
  7155. 00004B80  4244                     clr.w      D4
  7156. 00004B82  7006                     moveq.l    D0, 0x06
  7157. 00004B84  2F00                     move.l     -[A7], D0
  7158. 00004B86  720F                     moveq.l    D1, 0x0F
  7159. 00004B88  2F01                     move.l     -[A7], D1
  7160. 00004B8A  2F07                     move.l     -[A7], D7
  7161. 00004B8C  4EBA BF7E                jsr        [PC - 0x4082 /* 00000B0C */]
  7162. 00004B90  4A40                     tst.w      D0
  7163. 00004B92  4FEF 0018                lea.l      A7, [A7 + 0x18]
  7164. 00004B96  660C                     bne        +0xE /* 00004BA4 */
  7165. 00004B98  2F07                     move.l     -[A7], D7
  7166. 00004B9A  4EBA C054                jsr        [PC - 0x3FAC /* 00000BF0 */]
  7167. 00004B9E  3C00                     move.w     D6, D0
  7168. 00004BA0  5346                     subq.w     D6, 1
  7169. 00004BA2  584F                     addq.w     A7, 4
  7170. label00004BA4:
  7171. 00004BA4  7007                     moveq.l    D0, 0x07
  7172. 00004BA6  2F00                     move.l     -[A7], D0
  7173. 00004BA8  720F                     moveq.l    D1, 0x0F
  7174. 00004BAA  2F01                     move.l     -[A7], D1
  7175. 00004BAC  2F07                     move.l     -[A7], D7
  7176. 00004BAE  4EBA BF5C                jsr        [PC - 0x40A4 /* 00000B0C */]
  7177. 00004BB2  4A40                     tst.w      D0
  7178. 00004BB4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7179. 00004BB8  660C                     bne        +0xE /* 00004BC6 */
  7180. 00004BBA  2F07                     move.l     -[A7], D7
  7181. 00004BBC  4EBA BF9A                jsr        [PC - 0x4066 /* 00000B58 */]
  7182. 00004BC0  3800                     move.w     D4, D0
  7183. 00004BC2  5344                     subq.w     D4, 1
  7184. 00004BC4  584F                     addq.w     A7, 4
  7185. label00004BC6:
  7186. 00004BC6  302E FFCC                move.w     D0, [A6 - 0x34]
  7187. 00004BCA  9046                     sub.w      D0, D6
  7188. 00004BCC  3740 001E                move.w     [A3 + 0x1E], D0
  7189. 00004BD0  302E FFCE                move.w     D0, [A6 - 0x32]
  7190. 00004BD4  9044                     sub.w      D0, D4
  7191. 00004BD6  3740 001C                move.w     [A3 + 0x1C], D0
  7192. 00004BDA  6000 04C2                bra        +0x4C4 /* 0000509E */
  7193. 00004BDE  7001                     moveq.l    D0, 0x01
  7194. 00004BE0  2F00                     move.l     -[A7], D0
  7195. 00004BE2  720F                     moveq.l    D1, 0x0F
  7196. 00004BE4  2F01                     move.l     -[A7], D1
  7197. 00004BE6  2F07                     move.l     -[A7], D7
  7198. 00004BE8  4EBA B4CE                jsr        [PC - 0x4B32 /* 000000B8 */]
  7199. 00004BEC  723F                     moveq.l    D1, 0x3F
  7200. 00004BEE  C280                     and.l      D1, D0
  7201. 00004BF0  3741 001C                move.w     [A3 + 0x1C], D1
  7202. 00004BF4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7203. 00004BF8  6000 04A4                bra        +0x4A6 /* 0000509E */
  7204. 00004BFC  7006                     moveq.l    D0, 0x06
  7205. 00004BFE  2F00                     move.l     -[A7], D0
  7206. 00004C00  720F                     moveq.l    D1, 0x0F
  7207. 00004C02  2F01                     move.l     -[A7], D1
  7208. 00004C04  2F07                     move.l     -[A7], D7
  7209. 00004C06  4EBA BF04                jsr        [PC - 0x40FC /* 00000B0C */]
  7210. 00004C0A  7201                     moveq.l    D1, 0x01
  7211. 00004C0C  9240                     sub.w      D1, D0
  7212. 00004C0E  3741 001C                move.w     [A3 + 0x1C], D1
  7213. 00004C12  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7214. 00004C16  6000 0486                bra        +0x488 /* 0000509E */
  7215. 00004C1A  7007                     moveq.l    D0, 0x07
  7216. 00004C1C  2F00                     move.l     -[A7], D0
  7217. 00004C1E  720F                     moveq.l    D1, 0x0F
  7218. 00004C20  2F01                     move.l     -[A7], D1
  7219. 00004C22  2F07                     move.l     -[A7], D7
  7220. 00004C24  4EBA BEE6                jsr        [PC - 0x411A /* 00000B0C */]
  7221. 00004C28  7201                     moveq.l    D1, 0x01
  7222. 00004C2A  9240                     sub.w      D1, D0
  7223. 00004C2C  3741 001C                move.w     [A3 + 0x1C], D1
  7224. 00004C30  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7225. 00004C34  6000 0468                bra        +0x46A /* 0000509E */
  7226. 00004C38  7AEE                     moveq.l    D5, 0xFFFFFFEE
  7227. 00004C3A  6000 0462                bra        +0x464 /* 0000509E */
  7228. 00004C3E  7005                     moveq.l    D0, 0x05
  7229. 00004C40  2F00                     move.l     -[A7], D0
  7230. 00004C42  720E                     moveq.l    D1, 0x0E
  7231. 00004C44  2F01                     move.l     -[A7], D1
  7232. 00004C46  2F07                     move.l     -[A7], D7
  7233. 00004C48  4EBA BEC2                jsr        [PC - 0x413E /* 00000B0C */]
  7234. 00004C4C  4A40                     tst.w      D0
  7235. 00004C4E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7236. 00004C52  6704                     beq        +0x6 /* 00004C58 */
  7237. 00004C54  7001                     moveq.l    D0, 0x01
  7238. 00004C56  6002                     bra        +0x4 /* 00004C5A */
  7239. label00004C58:
  7240. 00004C58  7000                     moveq.l    D0, 0x00
  7241. label00004C5A:
  7242. 00004C5A  4880                     ext.w      D0
  7243. 00004C5C  3740 001C                move.w     [A3 + 0x1C], D0
  7244. 00004C60  6000 043C                bra        +0x43E /* 0000509E */
  7245. 00004C64  426B 001C                clr.w      [A3 + 0x1C]
  7246. 00004C68  426B 0020                clr.w      [A3 + 0x20]
  7247. 00004C6C  7004                     moveq.l    D0, 0x04
  7248. 00004C6E  2F00                     move.l     -[A7], D0
  7249. 00004C70  720E                     moveq.l    D1, 0x0E
  7250. 00004C72  2F01                     move.l     -[A7], D1
  7251. 00004C74  2F07                     move.l     -[A7], D7
  7252. 00004C76  4EBA BE94                jsr        [PC - 0x416C /* 00000B0C */]
  7253. 00004C7A  4A40                     tst.w      D0
  7254. 00004C7C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7255. 00004C80  675E                     beq        +0x60 /* 00004CE0 */
  7256. 00004C82  377C 0001 001C           move.w     [A3 + 0x1C], 0x1
  7257. 00004C88  7001                     moveq.l    D0, 0x01
  7258. 00004C8A  B06B 001E                cmp.w      D0, [A3 + 0x1E]
  7259. 00004C8E  6600 00C0                bne        +0xC2 /* 00004D50 */
  7260. 00004C92  7000                     moveq.l    D0, 0x00
  7261. 00004C94  2D40 FFF0                move.l     [A6 - 0x10], D0
  7262. 00004C98  41EE FFEA                lea.l      A0, [A6 - 0x16]
  7263. 00004C9C  A058                     syscall    InsTime
  7264. 00004C9E  41EE FFEA                lea.l      A0, [A6 - 0x16]
  7265. 00004CA2  203C FFFE A070           move.l     D0, 0xFFFEA070
  7266. 00004CA8  A05A                     syscall    PrimeTime
  7267. 00004CAA  601C                     bra        +0x1E /* 00004CC8 */
  7268. label00004CAC:
  7269. 00004CAC  7002                     moveq.l    D0, 0x02
  7270. 00004CAE  2F00                     move.l     -[A7], D0
  7271. 00004CB0  720E                     moveq.l    D1, 0x0E
  7272. 00004CB2  2F01                     move.l     -[A7], D1
  7273. 00004CB4  2F07                     move.l     -[A7], D7
  7274. 00004CB6  4EBA BE54                jsr        [PC - 0x41AC /* 00000B0C */]
  7275. 00004CBA  4A40                     tst.w      D0
  7276. 00004CBC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7277. 00004CC0  6606                     bne        +0x8 /* 00004CC8 */
  7278. 00004CC2  426B 001C                clr.w      [A3 + 0x1C]
  7279. 00004CC6  6006                     bra        +0x8 /* 00004CCE */
  7280. label00004CC8:
  7281. 00004CC8  4A6E FFEE                tst.w      [A6 - 0x12]
  7282. 00004CCC  6DDE                     blt        -0x20 /* 00004CAC */
  7283. label00004CCE:
  7284. 00004CCE  41EE FFEA                lea.l      A0, [A6 - 0x16]
  7285. 00004CD2  A059                     syscall    RmvTime
  7286. 00004CD4  4AAE FFF4                tst.l      [A6 - 0xC]
  7287. 00004CD8  6676                     bne        +0x78 /* 00004D50 */
  7288. 00004CDA  3A3C E0AE                move.w     D5, 0xE0AE
  7289. 00004CDE  6070                     bra        +0x72 /* 00004D50 */
  7290. label00004CE0:
  7291. 00004CE0  7005                     moveq.l    D0, 0x05
  7292. 00004CE2  2F00                     move.l     -[A7], D0
  7293. 00004CE4  720E                     moveq.l    D1, 0x0E
  7294. 00004CE6  2F01                     move.l     -[A7], D1
  7295. 00004CE8  2F07                     move.l     -[A7], D7
  7296. 00004CEA  4EBA BE20                jsr        [PC - 0x41E0 /* 00000B0C */]
  7297. 00004CEE  4A40                     tst.w      D0
  7298. 00004CF0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7299. 00004CF4  675A                     beq        +0x5C /* 00004D50 */
  7300. 00004CF6  377C 0002 001C           move.w     [A3 + 0x1C], 0x2
  7301. 00004CFC  7001                     moveq.l    D0, 0x01
  7302. 00004CFE  B06B 001E                cmp.w      D0, [A3 + 0x1E]
  7303. 00004D02  664C                     bne        +0x4E /* 00004D50 */
  7304. 00004D04  7000                     moveq.l    D0, 0x00
  7305. 00004D06  2D40 FFF0                move.l     [A6 - 0x10], D0
  7306. 00004D0A  41EE FFEA                lea.l      A0, [A6 - 0x16]
  7307. 00004D0E  A058                     syscall    InsTime
  7308. 00004D10  41EE FFEA                lea.l      A0, [A6 - 0x16]
  7309. 00004D14  203C FFFE A070           move.l     D0, 0xFFFEA070
  7310. 00004D1A  A05A                     syscall    PrimeTime
  7311. 00004D1C  601C                     bra        +0x1E /* 00004D3A */
  7312. label00004D1E:
  7313. 00004D1E  7002                     moveq.l    D0, 0x02
  7314. 00004D20  2F00                     move.l     -[A7], D0
  7315. 00004D22  720E                     moveq.l    D1, 0x0E
  7316. 00004D24  2F01                     move.l     -[A7], D1
  7317. 00004D26  2F07                     move.l     -[A7], D7
  7318. 00004D28  4EBA BDE2                jsr        [PC - 0x421E /* 00000B0C */]
  7319. 00004D2C  4A40                     tst.w      D0
  7320. 00004D2E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7321. 00004D32  6606                     bne        +0x8 /* 00004D3A */
  7322. 00004D34  426B 001C                clr.w      [A3 + 0x1C]
  7323. 00004D38  6006                     bra        +0x8 /* 00004D40 */
  7324. label00004D3A:
  7325. 00004D3A  4A6E FFEE                tst.w      [A6 - 0x12]
  7326. 00004D3E  6DDE                     blt        -0x20 /* 00004D1E */
  7327. label00004D40:
  7328. 00004D40  41EE FFEA                lea.l      A0, [A6 - 0x16]
  7329. 00004D44  A059                     syscall    RmvTime
  7330. 00004D46  4AAE FFF4                tst.l      [A6 - 0xC]
  7331. 00004D4A  6604                     bne        +0x6 /* 00004D50 */
  7332. 00004D4C  3A3C E0AE                move.w     D5, 0xE0AE
  7333. label00004D50:
  7334. 00004D50  7000                     moveq.l    D0, 0x00
  7335. 00004D52  2F00                     move.l     -[A7], D0
  7336. 00004D54  720E                     moveq.l    D1, 0x0E
  7337. 00004D56  2F01                     move.l     -[A7], D1
  7338. 00004D58  2F07                     move.l     -[A7], D7
  7339. 00004D5A  4EBA BDB0                jsr        [PC - 0x4250 /* 00000B0C */]
  7340. 00004D5E  4A40                     tst.w      D0
  7341. 00004D60  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7342. 00004D64  6600 0338                bne        +0x33A /* 0000509E */
  7343. 00004D68  6000 0334                bra        +0x336 /* 0000509E */
  7344. 00004D6C  302C 0004                move.w     D0, [A4 + 0x4]
  7345. 00004D70  48C0                     ext.l      D0
  7346. 00004D72  D080                     add.l      D0, D0
  7347. 00004D74  3740 001C                move.w     [A3 + 0x1C], D0
  7348. 00004D78  302C 0006                move.w     D0, [A4 + 0x6]
  7349. 00004D7C  48C0                     ext.l      D0
  7350. 00004D7E  5280                     addq.l     D0, 1
  7351. 00004D80  D080                     add.l      D0, D0
  7352. 00004D82  3740 0020                move.w     [A3 + 0x20], D0
  7353. 00004D86  3754 001E                move.w     [A3 + 0x1E], [A4]
  7354. 00004D8A  302C 0002                move.w     D0, [A4 + 0x2]
  7355. 00004D8E  5240                     addq.w     D0, 1
  7356. 00004D90  3740 0022                move.w     [A3 + 0x22], D0
  7357. 00004D94  6000 0308                bra        +0x30A /* 0000509E */
  7358. 00004D98  7003                     moveq.l    D0, 0x03
  7359. 00004D9A  2F00                     move.l     -[A7], D0
  7360. 00004D9C  7208                     moveq.l    D1, 0x08
  7361. 00004D9E  2F01                     move.l     -[A7], D1
  7362. 00004DA0  2F07                     move.l     -[A7], D7
  7363. 00004DA2  4EBA B314                jsr        [PC - 0x4CEC /* 000000B8 */]
  7364. 00004DA6  2D40 FFE4                move.l     [A6 - 0x1C], D0
  7365. 00004DAA  202E FFE4                move.l     D0, [A6 - 0x1C]
  7366. 00004DAE  4C7C 0801 0000 0240      movem.l    D0,A3, 0x240
  7367. 00004DB6  3D41 FFCE                move.w     [A6 - 0x32], D1
  7368. 00004DBA  202E FFE4                move.l     D0, [A6 - 0x1C]
  7369. 00004DBE  4C7C 0800 0000 0240      movem.l    A3, 0x240
  7370. 00004DC6  3800                     move.w     D4, D0
  7371. 00004DC8  3744 001C                move.w     [A3 + 0x1C], D4
  7372. 00004DCC  3744 0020                move.w     [A3 + 0x20], D4
  7373. 00004DD0  376E FFCE 001E           move.w     [A3 + 0x1E], [A6 - 0x32]
  7374. 00004DD6  376E FFCE 0022           move.w     [A3 + 0x22], [A6 - 0x32]
  7375. 00004DDC  7006                     moveq.l    D0, 0x06
  7376. 00004DDE  2F00                     move.l     -[A7], D0
  7377. 00004DE0  720F                     moveq.l    D1, 0x0F
  7378. 00004DE2  2F01                     move.l     -[A7], D1
  7379. 00004DE4  2F07                     move.l     -[A7], D7
  7380. 00004DE6  4EBA BD24                jsr        [PC - 0x42DC /* 00000B0C */]
  7381. 00004DEA  4A40                     tst.w      D0
  7382. 00004DEC  4FEF 0018                lea.l      A7, [A7 + 0x18]
  7383. 00004DF0  6612                     bne        +0x14 /* 00004E04 */
  7384. 00004DF2  2F07                     move.l     -[A7], D7
  7385. 00004DF4  4EBA BDFA                jsr        [PC - 0x4206 /* 00000BF0 */]
  7386. 00004DF8  916B 001E                sub.w      [A3 + 0x1E], D0
  7387. 00004DFC  526B 0022                addq.w     [A3 + 0x22], 1
  7388. 00004E00  584F                     addq.w     A7, 4
  7389. 00004E02  600C                     bra        +0xE /* 00004E10 */
  7390. label00004E04:
  7391. 00004E04  2F07                     move.l     -[A7], D7
  7392. 00004E06  4EBA BDE8                jsr        [PC - 0x4218 /* 00000BF0 */]
  7393. 00004E0A  D16B 0022                add.w      [A3 + 0x22], D0
  7394. 00004E0E  584F                     addq.w     A7, 4
  7395. label00004E10:
  7396. 00004E10  7007                     moveq.l    D0, 0x07
  7397. 00004E12  2F00                     move.l     -[A7], D0
  7398. 00004E14  720F                     moveq.l    D1, 0x0F
  7399. 00004E16  2F01                     move.l     -[A7], D1
  7400. 00004E18  2F07                     move.l     -[A7], D7
  7401. 00004E1A  4EBA BCF0                jsr        [PC - 0x4310 /* 00000B0C */]
  7402. 00004E1E  4A40                     tst.w      D0
  7403. 00004E20  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7404. 00004E24  6614                     bne        +0x16 /* 00004E3A */
  7405. 00004E26  2F07                     move.l     -[A7], D7
  7406. 00004E28  4EBA BD2E                jsr        [PC - 0x42D2 /* 00000B58 */]
  7407. 00004E2C  916B 001C                sub.w      [A3 + 0x1C], D0
  7408. 00004E30  526B 0020                addq.w     [A3 + 0x20], 1
  7409. 00004E34  584F                     addq.w     A7, 4
  7410. 00004E36  6000 0266                bra        +0x268 /* 0000509E */
  7411. label00004E3A:
  7412. 00004E3A  2F07                     move.l     -[A7], D7
  7413. 00004E3C  4EBA BD1A                jsr        [PC - 0x42E6 /* 00000B58 */]
  7414. 00004E40  D16B 0020                add.w      [A3 + 0x20], D0
  7415. 00004E44  584F                     addq.w     A7, 4
  7416. 00004E46  6000 0256                bra        +0x258 /* 0000509E */
  7417. 00004E4A  302B 001C                move.w     D0, [A3 + 0x1C]
  7418. 00004E4E  E040                     asr        D0.w, 8
  7419. 00004E50  0C40 0052                cmpi.w     D0, 0x52 /* 'R' */
  7420. 00004E54  6606                     bne        +0x8 /* 00004E5C */
  7421. 00004E56  7AEE                     moveq.l    D5, 0xFFFFFFEE
  7422. 00004E58  6000 0244                bra        +0x246 /* 0000509E */
  7423. label00004E5C:
  7424. 00004E5C  703F                     moveq.l    D0, 0x3F
  7425. 00004E5E  2F00                     move.l     -[A7], D0
  7426. 00004E60  7200                     moveq.l    D1, 0x00
  7427. 00004E62  2F01                     move.l     -[A7], D1
  7428. 00004E64  342B 001C                move.w     D2, [A3 + 0x1C]
  7429. 00004E68  48C2                     ext.l      D2
  7430. 00004E6A  2F02                     move.l     -[A7], D2
  7431. 00004E6C  4EBA B77E                jsr        [PC - 0x4882 /* 000005EC */]
  7432. 00004E70  4A40                     tst.w      D0
  7433. 00004E72  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7434. 00004E76  6706                     beq        +0x8 /* 00004E7E */
  7435. 00004E78  7AEE                     moveq.l    D5, 0xFFFFFFEE
  7436. 00004E7A  6000 0222                bra        +0x224 /* 0000509E */
  7437. label00004E7E:
  7438. 00004E7E  3A3C E0AC                move.w     D5, 0xE0AC
  7439. 00004E82  6000 021A                bra        +0x21C /* 0000509E */
  7440. 00004E86  206E FFD8                movea.l    A0, [A6 - 0x28]
  7441. 00004E8A  4A28 0015                tst.b      [A0 + 0x15]
  7442. 00004E8E  6704                     beq        +0x6 /* 00004E94 */
  7443. 00004E90  7001                     moveq.l    D0, 0x01
  7444. 00004E92  6002                     bra        +0x4 /* 00004E96 */
  7445. label00004E94:
  7446. 00004E94  7000                     moveq.l    D0, 0x00
  7447. label00004E96:
  7448. 00004E96  4880                     ext.w      D0
  7449. 00004E98  3740 001C                move.w     [A3 + 0x1C], D0
  7450. 00004E9C  6000 0200                bra        +0x202 /* 0000509E */
  7451. 00004EA0  7AEE                     moveq.l    D5, 0xFFFFFFEE
  7452. 00004EA2  6000 01FA                bra        +0x1FC /* 0000509E */
  7453. 00004EA6  206E FFD8                movea.l    A0, [A6 - 0x28]
  7454. 00004EAA  3768 0004 001C           move.w     [A3 + 0x1C], [A0 + 0x4]
  7455. 00004EB0  6000 01EC                bra        +0x1EE /* 0000509E */
  7456. 00004EB4  206E FFD0                movea.l    A0, [A6 - 0x30]
  7457. 00004EB8  3010                     move.w     D0, [A0]
  7458. 00004EBA  48C0                     ext.l      D0
  7459. 00004EBC  E580                     asl        D0, 2
  7460. 00004EBE  3740 001C                move.w     [A3 + 0x1C], D0
  7461. 00004EC2  206E FFD0                movea.l    A0, [A6 - 0x30]
  7462. 00004EC6  3028 0002                move.w     D0, [A0 + 0x2]
  7463. 00004ECA  48C0                     ext.l      D0
  7464. 00004ECC  E580                     asl        D0, 2
  7465. 00004ECE  206E FFD4                movea.l    A0, [A6 - 0x2C]
  7466. 00004ED2  3228 0010                move.w     D1, [A0 + 0x10]
  7467. 00004ED6  48C1                     ext.l      D1
  7468. 00004ED8  D280                     add.l      D1, D0
  7469. 00004EDA  5241                     addq.w     D1, 1
  7470. 00004EDC  3741 001E                move.w     [A3 + 0x1E], D1
  7471. 00004EE0  6000 01BC                bra        +0x1BE /* 0000509E */
  7472. 00004EE4  4878 00FF                push.l     0xFF
  7473. 00004EE8  7000                     moveq.l    D0, 0x00
  7474. 00004EEA  2F00                     move.l     -[A7], D0
  7475. 00004EEC  322B 001C                move.w     D1, [A3 + 0x1C]
  7476. 00004EF0  48C1                     ext.l      D1
  7477. 00004EF2  2F01                     move.l     -[A7], D1
  7478. 00004EF4  4EBA B6F6                jsr        [PC - 0x490A /* 000005EC */]
  7479. 00004EF8  4A40                     tst.w      D0
  7480. 00004EFA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7481. 00004EFE  6718                     beq        +0x1A /* 00004F18 */
  7482. 00004F00  206E FFD8                movea.l    A0, [A6 - 0x28]
  7483. 00004F04  302B 001C                move.w     D0, [A3 + 0x1C]
  7484. 00004F08  7200                     moveq.l    D1, 0x00
  7485. 00004F0A  1230 0008                move.b     D1, [A0 + D0.w + 0x8]
  7486. 00004F0E  4A81                     tst.l      D1
  7487. 00004F10  3741 001E                move.w     [A3 + 0x1E], D1
  7488. 00004F14  6000 0188                bra        +0x18A /* 0000509E */
  7489. label00004F18:
  7490. 00004F18  3A3C E096                move.w     D5, 0xE096
  7491. 00004F1C  6000 0180                bra        +0x182 /* 0000509E */
  7492. 00004F20  7AEE                     moveq.l    D5, 0xFFFFFFEE
  7493. 00004F22  6000 017A                bra        +0x17C /* 0000509E */
  7494. 00004F26  7AEE                     moveq.l    D5, 0xFFFFFFEE
  7495. 00004F28  6000 0174                bra        +0x176 /* 0000509E */
  7496. 00004F2C  4AAB 001C                tst.l      [A3 + 0x1C]
  7497. 00004F30  6726                     beq        +0x28 /* 00004F58 */
  7498. 00004F32  598F                     subq.l     A7, 4
  7499. 00004F34  2F2B 001C                move.l     -[A7], [A3 + 0x1C]
  7500. 00004F38  4EBA 01AC                jsr        [PC + 0x1AC /* 000050E6 */]
  7501. 00004F3C  285F                     movea.l    A4, [A7]+
  7502. 00004F3E  7C01                     moveq.l    D6, 0x01
  7503. 00004F40  363C 0101                move.w     D3, 0x101
  7504. label00004F44:
  7505. 00004F44  206E FFD8                movea.l    A0, [A6 - 0x28]
  7506. 00004F48  18F0 6021                move.b     [A4]+, [A0 + D6.w + 0x21]
  7507. 00004F4C  3006                     move.w     D0, D6
  7508. 00004F4E  5246                     addq.w     D6, 1
  7509. 00004F50  B646                     cmp.w      D3, D6
  7510. 00004F52  6EF0                     bgt        -0xE /* 00004F44 */
  7511. 00004F54  6000 0148                bra        +0x14A /* 0000509E */
  7512. label00004F58:
  7513. 00004F58  3A3C E095                move.w     D5, 0xE095
  7514. 00004F5C  6000 0140                bra        +0x142 /* 0000509E */
  7515. 00004F60  7AEE                     moveq.l    D5, 0xFFFFFFEE
  7516. 00004F62  6000 013A                bra        +0x13C /* 0000509E */
  7517. 00004F66  7AEE                     moveq.l    D5, 0xFFFFFFEE
  7518. 00004F68  6000 0134                bra        +0x136 /* 0000509E */
  7519. 00004F6C  206E FFD8                movea.l    A0, [A6 - 0x28]
  7520. 00004F70  7000                     moveq.l    D0, 0x00
  7521. 00004F72  1028 0014                move.b     D0, [A0 + 0x14]
  7522. 00004F76  4A80                     tst.l      D0
  7523. 00004F78  7260                     moveq.l    D1, 0x60
  7524. 00004F7A  C200                     and.b      D1, D0
  7525. 00004F7C  EA09                     lsr        D1.b, 5
  7526. 00004F7E  7000                     moveq.l    D0, 0x00
  7527. 00004F80  1001                     move.b     D0, D1
  7528. 00004F82  4A80                     tst.l      D0
  7529. 00004F84  3740 001C                move.w     [A3 + 0x1C], D0
  7530. 00004F88  6000 0114                bra        +0x116 /* 0000509E */
  7531. 00004F8C  206E FFD8                movea.l    A0, [A6 - 0x28]
  7532. 00004F90  7000                     moveq.l    D0, 0x00
  7533. 00004F92  1028 0014                move.b     D0, [A0 + 0x14]
  7534. 00004F96  4A80                     tst.l      D0
  7535. 00004F98  323C 0080                move.w     D1, 0x80
  7536. 00004F9C  C200                     and.b      D1, D0
  7537. 00004F9E  6704                     beq        +0x6 /* 00004FA4 */
  7538. 00004FA0  7001                     moveq.l    D0, 0x01
  7539. 00004FA2  6002                     bra        +0x4 /* 00004FA6 */
  7540. label00004FA4:
  7541. 00004FA4  7000                     moveq.l    D0, 0x00
  7542. label00004FA6:
  7543. 00004FA6  4880                     ext.w      D0
  7544. 00004FA8  3740 001C                move.w     [A3 + 0x1C], D0
  7545. 00004FAC  6000 00F0                bra        +0xF2 /* 0000509E */
  7546. 00004FB0  206E FFD8                movea.l    A0, [A6 - 0x28]
  7547. 00004FB4  7000                     moveq.l    D0, 0x00
  7548. 00004FB6  1028 0017                move.b     D0, [A0 + 0x17]
  7549. 00004FBA  4A80                     tst.l      D0
  7550. 00004FBC  7240                     moveq.l    D1, 0x40
  7551. 00004FBE  C200                     and.b      D1, D0
  7552. 00004FC0  6704                     beq        +0x6 /* 00004FC6 */
  7553. 00004FC2  7001                     moveq.l    D0, 0x01
  7554. 00004FC4  6002                     bra        +0x4 /* 00004FC8 */
  7555. label00004FC6:
  7556. 00004FC6  7000                     moveq.l    D0, 0x00
  7557. label00004FC8:
  7558. 00004FC8  4880                     ext.w      D0
  7559. 00004FCA  3740 001C                move.w     [A3 + 0x1C], D0
  7560. 00004FCE  6000 00CE                bra        +0xD0 /* 0000509E */
  7561. 00004FD2  206E FFD8                movea.l    A0, [A6 - 0x28]
  7562. 00004FD6  7000                     moveq.l    D0, 0x00
  7563. 00004FD8  1028 0018                move.b     D0, [A0 + 0x18]
  7564. 00004FDC  4A80                     tst.l      D0
  7565. 00004FDE  7203                     moveq.l    D1, 0x03
  7566. 00004FE0  C200                     and.b      D1, D0
  7567. 00004FE2  7000                     moveq.l    D0, 0x00
  7568. 00004FE4  1001                     move.b     D0, D1
  7569. 00004FE6  4A80                     tst.l      D0
  7570. 00004FE8  3740 001C                move.w     [A3 + 0x1C], D0
  7571. 00004FEC  6000 00B0                bra        +0xB2 /* 0000509E */
  7572. 00004FF0  206E FFD8                movea.l    A0, [A6 - 0x28]
  7573. 00004FF4  7000                     moveq.l    D0, 0x00
  7574. 00004FF6  1028 000E                move.b     D0, [A0 + 0xE]
  7575. 00004FFA  4A80                     tst.l      D0
  7576. 00004FFC  7240                     moveq.l    D1, 0x40
  7577. 00004FFE  C200                     and.b      D1, D0
  7578. 00005000  6704                     beq        +0x6 /* 00005006 */
  7579. 00005002  7001                     moveq.l    D0, 0x01
  7580. 00005004  6002                     bra        +0x4 /* 00005008 */
  7581. label00005006:
  7582. 00005006  7000                     moveq.l    D0, 0x00
  7583. label00005008:
  7584. 00005008  4880                     ext.w      D0
  7585. 0000500A  3740 001C                move.w     [A3 + 0x1C], D0
  7586. 0000500E  6000 008E                bra        +0x90 /* 0000509E */
  7587. 00005012  206E FFD8                movea.l    A0, [A6 - 0x28]
  7588. 00005016  7000                     moveq.l    D0, 0x00
  7589. 00005018  1028 000E                move.b     D0, [A0 + 0xE]
  7590. 0000501C  4A80                     tst.l      D0
  7591. 0000501E  7230                     moveq.l    D1, 0x30
  7592. 00005020  C200                     and.b      D1, D0
  7593. 00005022  E809                     lsr        D1.b, 4
  7594. 00005024  7000                     moveq.l    D0, 0x00
  7595. 00005026  1001                     move.b     D0, D1
  7596. 00005028  4A80                     tst.l      D0
  7597. 0000502A  3740 001C                move.w     [A3 + 0x1C], D0
  7598. 0000502E  606E                     bra        +0x70 /* 0000509E */
  7599. 00005030  206E FFD8                movea.l    A0, [A6 - 0x28]
  7600. 00005034  7000                     moveq.l    D0, 0x00
  7601. 00005036  1028 000E                move.b     D0, [A0 + 0xE]
  7602. 0000503A  4A80                     tst.l      D0
  7603. 0000503C  720C                     moveq.l    D1, 0x0C
  7604. 0000503E  C200                     and.b      D1, D0
  7605. 00005040  E409                     lsr        D1.b, 2
  7606. 00005042  7000                     moveq.l    D0, 0x00
  7607. 00005044  1001                     move.b     D0, D1
  7608. 00005046  4A80                     tst.l      D0
  7609. 00005048  3740 001C                move.w     [A3 + 0x1C], D0
  7610. 0000504C  6050                     bra        +0x52 /* 0000509E */
  7611. 0000504E  206E FFD8                movea.l    A0, [A6 - 0x28]
  7612. 00005052  7000                     moveq.l    D0, 0x00
  7613. 00005054  1028 000E                move.b     D0, [A0 + 0xE]
  7614. 00005058  4A80                     tst.l      D0
  7615. 0000505A  7203                     moveq.l    D1, 0x03
  7616. 0000505C  C200                     and.b      D1, D0
  7617. 0000505E  7000                     moveq.l    D0, 0x00
  7618. 00005060  1001                     move.b     D0, D1
  7619. 00005062  4A80                     tst.l      D0
  7620. 00005064  3740 001C                move.w     [A3 + 0x1C], D0
  7621. 00005068  6034                     bra        +0x36 /* 0000509E */
  7622. 0000506A  7AEE                     moveq.l    D5, 0xFFFFFFEE
  7623. 0000506C  6030                     bra        +0x32 /* 0000509E */
  7624. 0000506E  2F2E FFD4                move.l     -[A7], [A6 - 0x2C]
  7625. 00005072  486B 001C                pea.l      [A3 + 0x1C]
  7626. 00005076  7000                     moveq.l    D0, 0x00
  7627. 00005078  2F00                     move.l     -[A7], D0
  7628. 0000507A  322E FFE8                move.w     D1, [A6 - 0x18]
  7629. 0000507E  48C1                     ext.l      D1
  7630. 00005080  2F01                     move.l     -[A7], D1
  7631. 00005082  4EBA CDE0                jsr        [PC - 0x3220 /* 00001E64 */]
  7632. 00005086  3A00                     move.w     D5, D0
  7633. 00005088  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7634. 0000508C  6010                     bra        +0x12 /* 0000509E */
  7635. 0000508E  377C 0240 001C           move.w     [A3 + 0x1C], 0x240
  7636. 00005094  377C 00D8 001E           move.w     [A3 + 0x1E], 0xD8
  7637. 0000509A  6002                     bra        +0x4 /* 0000509E */
  7638. label0000509C:
  7639. 0000509C  7AEE                     moveq.l    D5, 0xFFFFFFEE
  7640. label0000509E:
  7641. 0000509E  206E FFD0                movea.l    A0, [A6 - 0x30]
  7642. 000050A2  3028 0002                move.w     D0, [A0 + 0x2]
  7643. 000050A6  48C0                     ext.l      D0
  7644. 000050A8  206E FFD0                movea.l    A0, [A6 - 0x30]
  7645. 000050AC  2070 0C04                movea.l    A0, [A0 + D0 * 4 + 0x4]
  7646. 000050B0  A02A                     syscall    HUnlock
  7647. 000050B2  206E 0008                movea.l    A0, [A6 + 0x8]
  7648. 000050B6  2068 0014                movea.l    A0, [A0 + 0x14]
  7649. 000050BA  A02A                     syscall    HUnlock
  7650. 000050BC  3D45 0010                move.w     [A6 + 0x10], D5
  7651. label000050C0:
  7652. 000050C0  4CEE 18F8 FFB0           movem.l    D3,D4,D5,D6,D7,A3,A4, [A6 - 0x50]
  7653. 000050C6  4E5E                     unlink     A6
  7654. 000050C8  4E74 0008                rtd        0x0008
  7655. fn000050CC:
  7656. 000050CC  205F                     movea.l    A0, [A7]+
  7657. 000050CE  301F                     move.w     D0, [A7]+
  7658. 000050D0  4297                     clr.l      [A7]
  7659. 000050D2  4640                     not.w      D0
  7660. 000050D4  B078 01D2                cmp.w      D0, [0x000001D2 /* UnitNtryCnt */]
  7661. 000050D8  640A                     bcc        +0xC /* 000050E4 */
  7662. 000050DA  E548                     lsl        D0.w, 2
  7663. 000050DC  2278 011C                movea.l    A1, [0x0000011C /* UTableBase */]
  7664. 000050E0  2EB1 0000                move.l     [A7], [A1 + D0.w]
  7665. label000050E4:
  7666. 000050E4  4ED0                     jmp        [A0]
  7667. fn000050E6:
  7668. 000050E6  225F                     movea.l    A1, [A7]+
  7669. 000050E8  201F                     move.l     D0, [A7]+
  7670. 000050EA  0838 0006 028E           btst.b     [0x0000028E /* ROM85 */], 0x6
  7671. 000050F0  6606                     bne        +0x8 /* 000050F8 */
  7672. 000050F2  A055                     syscall    StripAddress
  7673. 000050F4  2E80                     move.l     [A7], D0
  7674. 000050F6  4ED1                     jmp        [A1]
  7675. label000050F8:
  7676. 000050F8  C0B8 031A                and.l      D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
  7677. 000050FC  2E80                     move.l     [A7], D0
  7678. 000050FE  4ED1                     jmp        [A1]
  7679.